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: Tunneling through unfriendly firewalls

Subject: Re: Tunneling through unfriendly firewalls
Date: Fri, 15 Dec 2006 20:48:28 -0800 (PST)

I've just worked out a pretty good technique:

"home" terminal 1:
ssh -L 3456:webserver:22 bforbes@firewall

"home" terminal 2:
ssh -p 3456 -L 2345:localhost:80 bforbes@localhost

And then I just browse to "localhost:2345" to access the web site. It's
encrypted the whole way through, I'm fairly sure.

The only problem is that you have to delete the key for "home" from
known_hosts, since the second ssh command above thinks it's connecting to
"home", when in fact it's connecting to "webserver". Any ideas on how to
prevent this from happening? It's not a big deal, but some people might be
concerned about deleting keys from known_hosts.
-- 
View this message in context: 
http://www.nabble.com/Tunneling-through-unfriendly-firewalls-tf2830640.html#a7903352
Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.

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