LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-01-2009, 06:13 AM   #1
Vitoriung
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
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.

Thanks
 
Old 10-01-2009, 06:52 AM   #2
Maspry
LQ Newbie
 
Registered: Sep 2009
Location: Kent, UK
Distribution: Fedora, ubuntu, Knoppix, CentOS
Posts: 12

Rep: Reputation: 1
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?
 
Old 10-01-2009, 07:20 AM   #3
tapke
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Rep: Reputation: 0
Are VPN ports PC2<->PC1 open?
 
Old 10-01-2009, 09:02 AM   #4
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
does PC3 have an ssh server running on it? If so you could do an ssh bridge
 
Old 10-02-2009, 12:21 AM   #5
tapke
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by estabroo View Post
does PC3 have an ssh server running on it? If so you could do an ssh bridge
He said he's connecting to PC3 on remote (RDP) and has no admin rights on it. So it's windows and it means no ssh.
 
Old 10-02-2009, 07:39 PM   #6
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
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
 
Old 10-06-2009, 04:21 AM   #7
Vitoriung
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by estabroo View Post
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.
 
Old 10-06-2009, 10:51 AM   #8
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
do you have a list of the rules on the pix?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open ports behind a firewall? ni0wn Slackware 4 09-16-2004 07:48 AM
PLEASE !!! Can't open ports with rc.firewall peryserv Linux - Networking 2 08-26-2004 07:43 PM
Ports used by a SSH Connection proteo Linux - Networking 3 10-22-2003 09:30 AM
SSH help - need to access box behind a firewall and cannot fwd ports. absolutal Linux - Networking 13 07-16-2003 12:03 PM
Open ports on firewall LionMaster Linux - Security 3 04-13-2003 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration