Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: Port Forwarding - Firewall Traversal

Subject: RE: Port Forwarding - Firewall Traversal
Date: Wed, 7 Jun 2006 02:12:15 -0700
From: Henry Kupets [mailto:Henry.Kupets@dia.state.ma.us] 

I have a host (Oracle app.server) in DMZ that I need to 
access through HTTP on port 1810 from the Windows PC that 
resides inside the LAN.  The firewall does not allow traffic 
through port 1810 but allows traffic through port 9000. (When 
I point the browser to http://appserver:1810 it returns "The 
page cannot be displayed").
I was trying to set up port forwarding on the app.server using:

1) Changed sshd_config on the app.server (AllowTcpForwarding yes)
2) Ran on the app.server:  ssh -g -L 9000:appserver:1810 appserver

It's not working.  I can see in the firewall log that it 
allows the first packet to go to the app.server on port 9000 
and it drops the second packet that goes for some reason to 
the app.server on port 1810.

Am I missing anything?


Apologies if I sent two of these -- having connectivity issues.  It's also
late and my first response bordered on boneheaded.

Are you connecting to http://localhost:9000?

I also think you're overcomplicating things a bit.  If it were me, I'd use:

ssh -L1810:appserver:1810 

Then browse to:

http://localhost:1810


<Prev in Thread] Current Thread [Next in Thread>