Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I am sure that I am not the only one with this issue. Everytime a client calls me I have to walk them over the phone on to port forward certain ports like 5900, 3389 from within there Firewall,so that I can connect to their machine via VNC or Rdesktop (for XP). I am sick and tired of doing this. I have read a little on reverse SSH and was wonder if someone can point me in the right direction on how to use that. From what I understand I have to:
1 - Setup SSH server on my linux box and give them an account.
2 - Load Putty on the XP workstation with certain settings.
3 - Have the client SSH to my server.
4 - And then magically connect to their XP workstation from my Linux box via VNC or RDesktop.
I need some insight on this thanks! How can I do this without having to mess with their firewall settings? This would help out million of IT people. Also looking at from a security stand point, this would be ideal because you do not have to physically open up any ports on your firewall, you would be establishing a remote session! Cool
Last edited by metallica1973; 05-31-2007 at 08:31 PM.
You set up ssh on your linux box with 22 open on your firewall. They ssh into your machine with specific settings and leave the session running. You then rdp to your linux box on the specified port (specified from the clients end)and it tunnels through the existing ssh session to the port on the clients machine.
Note, that you will need to add the line "GatewayPorts yes" into your sshd_config.
You don't have to mess with their firewall at all because they are only making an outbound connection to you.
Additionally, if you are going to be making account on your linux box, you should chroot and quota their homedirs to protect yourself.
Can someone please tell me how to establish a reverse ssh connection using putty from windows. I have my linux server ready to recieve ssh session but I do not know how to setup putty using windows. help!