Posted: 11/10/2009 2:26:16 PM EDT
|
I asked this in Urban Commandos the other day, but I'm hoping for more responses.
I would like to tunnel all of my internet traffic over a proxy, and ideally run it all over port 80. I have Ubuntu running on my home desktop and Vista on my laptop. I have OpenSSH running on my desktop, so I can use PuTTY to connect to my desktop from my laptop. I can then make Firefox, and some other programs, use a SOCKS proxy so the traffic from those programs uses the proxy. However, I'd like to make all of my traffic from my laptop use the proxy without having to set up each individual program. How can I do this? Do I need a VPN? Also, I'm occasionally behind a firewall that restricts everything except for HTTP, POP and IMAP, so I'd ideally like to send it all over port 80. Is this possible? (I have permission to bypass the firewall.) Thanks |
| So you want all of your internet traffic from your laptop to exit your home network via your Ubuntu desktop, which should act as a proxy? Set up squid on Ubuntu, then point your laptop at it in your firefox settings. All of your outbound requests will go to the desktop and your desktop will proxy the requests to the internet. SSL can take some tweaking, but Squid is what you're looking for. |
|
Quoted:
Quoted:
If you want all of the traffic to be routed out through your home computer you would need a VPN. I would start with looking at OpenVPN. VPN wouldn't be required. You could tunnel it all through an SSH tunnel. Really? How are you going to get EVERYTHING to go through an SSH tunnel without configuring each program? |
|
You can continue using your socks proxy for a majority of things that will take a proxy configuration. Usually thought your browser will do DNS requests locally and then use the socks proxy for the http connection. You can force firefox to proxy dns requests by typing
about.config in your url bar and changing the setting network.proxy.socks_remote_dns to true. However, to tunnel all your traffic is more complex. openvpn will do it if you run it with the redirect gateway mode. it can also tunnel over tcp port 80 and has configuration options to make its connection look like an http connection and even go through http proxies. you also have to configure your ubuntu box to do tcp forwarding and setup iptables to forward and NAT your traffic. Hope that points you in the right direction -Foxxz |
|
Quoted:
So you want all of your internet traffic from your laptop to exit your home network via your Ubuntu desktop, which should act as a proxy? Set up squid on Ubuntu, then point your laptop at it in your firefox settings. All of your outbound requests will go to the desktop and your desktop will proxy the requests to the internet. SSL can take some tweaking, but Squid is what you're looking for. Sorry, no, I should have made that more clear. I want to use my laptop while I'm away from home and behind a firewall. I would like to route all traffic through my home desktop via port 80, so that the firewall doesn't block my softphone. |
|
Quoted:
You can continue using your socks proxy for a majority of things that will take a proxy configuration. Usually thought your browser will do DNS requests locally and then use the socks proxy for the http connection. You can force firefox to proxy dns requests by typing about.config in your url bar and changing the setting network.proxy.socks_remote_dns to true. However, to tunnel all your traffic is more complex. openvpn will do it if you run it with the redirect gateway mode. it can also tunnel over tcp port 80 and has configuration options to make its connection look like an http connection and even go through http proxies. you also have to configure your ubuntu box to do tcp forwarding and setup iptables to forward and NAT your traffic. Hope that points you in the right direction -Foxxz Cool, that's kind of what I figured. I had been using Firefox with the SOCKS proxy, and sending my dns requests through it. The softphone that I use, though, doesn't allow me to use a proxy. Since the building I'm in is in the land where cell phone signals go to die, the softphone is the only way people can reach me. Thanks, I'm off to learn how to use a VPN... |