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. |

| Subject: | Re: Tunneling through unfriendly firewalls |
|---|---|
| Date: | Wed, 20 Dec 2006 15:23:43 -0800 (PST) |
If you have a full implementation of SSH on said web server, just use: ssh -D 3128 username@webserver Then set your browser to use the SOCKS proxy built into the SSH server. That is, go to your proxy settings for your browser, and under SOCKS proxy, put localhost:3128 (or whatever port you chose when you connected). You can then surf *any* site from the web server itself by simply typing the name. If you want to see something on the local server that you are ssh'ed into, you use http://localhost/. Note that the SOCKS proxy can be used for many fun things other than browsing... like tunneling IM, avoiding content filters and other corporate / restrictive appliances, tunneled ftp & irc, etcetera. Note that your connection is encrypted to the head end, then it's up to the specific protocol to protect you. That is, you're encrypted all the way to the SSH server, but if you use a clear text protocol such as HTTP it will be clear text beyond the SSH server (obviously). We use this feature for exposing only an SSH gateway to the bad nasty outside (which is actually inside our network), then we tunnel everything through SSH to access things behind our firewall. Note that this feature isn't available in all implementations of SSH, such as Cisco's SSH server on their firewalls. Most full implementations of SSH should have it though. bforbes wrote:
The known_hosts problem can be eliminated with the option
-o NoHostAuthenticationForLocalhost=yes
-- View this message in context: http://www.nabble.com/Tunneling-through-unfriendly-firewalls-tf2830640.html#a8000008 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Hung sftp processes on cygwin/Win 2003 Enterprise, KGilchrist |
|---|---|
| Next by Date: | Re: tunnelling through 2 servers, Jason Muskat, GCFA, GCUX, de VE3TSJ |
| Previous by Thread: | Re: Tunneling through unfriendly firewalls, bforbes |
| Next by Thread: | tunnelling through 2 servers, kevinj |
| Indexes: | [Date] [Thread] [Top] [All Lists] |