How do I setup a proxy system wide?
I know how to setup proxies inside a program, but is there a good way to setup a system wide proxy? I have a proxy running on my other computer. The reason I want to do this is because my network is setup like this:
Internet -> Router -> Netbook -> My Desktop
I have my netbook forwarding requests to my desktop. I can browse the web and do anything. But I can't access other computers on my network. On my netbook, it takes wlan0 and forwards it to eth0, eth0 uses 192.168.0.0/24, the network that comes from my router is 192.168.1.0/24.
So I can access other systems in my network on my netbook, but not the desktop. I run a squid server on the netbook, and when my desktop connects to that, it runs just as fast really and I'm able to access the network. The problem is I can only use this with firefox, and not every program. They will just try to use the network I set up, not the proxy server. Can I set up my desktop to use squid's proxy system wide? Or will I need a SOCKS proxy? If I do need a SOCKS proxy, can someone point me towards a good tutorial? A system wide proxy seems to be the solution here until I get another wireless card. Or maybe there's a way to use iptables to forward connections from 192.168.1.0/24?
Any ideas are appreciated.
Thanks,
Dragos240
|