SSH connection through the firewall with no ports open
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SSH connection through the firewall with no ports open
PC1- 10.128.14.12 (linux)local network
PC2- 10.248.12.100 (linux) in DMZ
PC1 can ping PC2, no ports are forwarded so I can't SSH on each other.
Workaround (but silly) is -
PC3- 10.248.12.2 (Win2k3) port 3389 open on firewall (Cisco PIX)
PC1 -> RDP -> PC3 -> Putty -> PC2
With this configuration I am not able to use tunnel VNC from PC2(KVM) to PC1.
I have admin rights for PC1 and PC2, cannot install anything on PC3
Is there any available solution to this? Eg. use Putty to forward the ports etc...
Please don't advise anything like "tell your admin to open the ports", I am neither hacker or networking expert, just need to access my KVM server and dealing with silly people here.
If I understand you correctly the putty session is between PC3 and PC2, both of which are in the DMZ. RDP is only giving you the remote desktop and is not forwarding or tunneling ports. Any SSH tunneling would be between PC3 and PC2 so no use to you.
Perhaps a temporary solution would be to have the VNC session run over port 3389 as you know its open?
on PC2 have you tried having an ssh server running on port 3389 since the pix allows it to pc3 it might have a general rule allowing access to the rdp port
on PC2 have you tried having an ssh server running on port 3389 since the pix allows it to pc3 it might have a general rule allowing access to the rdp port
Yes I have, but the rule is obviously enabled just for PC3. So only thing could work may be port forwarding through the Putty on PC3, but I am not successful here either, maybe I am missing the right settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.