On Mon, Mar 24, 2008 at 6:19 PM, Ravi Kumar <[EMAIL PROTECTED]> wrote:
> Hi friends, > I have a server which cannot be accessed through Internet. Now, I want to > expose a service to internet, but in secure way. So I choose SSH Port > forwarding... > The scenario is: > > Server A host a service i.e CVS on port 2401 (default_) > Server B has SSH service running. > > Both A and B are in local network. > > Now computer C from far world needs access to that service on A, so I want > to tunnel the communication between B and C for A-C communication. > > Something such as : [A : cvs] <------------------> [B : sshd] <----------- > tunnel ----------------------------->[C] > > Please guide me how can I enable ssh tunneling in such, I read many online > documents, but could not get the grip over the theory, > Also, for C i would like B as transparent. that is same port 2401 on B > would be forwareded to A:2401 SSH has a built-in option for a SOCKS proxy, which may be what you're looking for. See http://www.plenz.com/tunnel-everything for details on this and other options for tunneling traffic over SSH. Udhay -- ((Udhay Shankar N)) ((udhay @ pobox.com)) ((www.digeratus.com)) -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in