Wiki source for SOCKSProxyNotes


Show raw source

====SOCKS Proxy Notes====
Some notes of investigations I've made into creating a Firefox plugin that uses a SOCKS proxy to resolve DNS. This is probably the way we should have been promoting OpenNIC, rather than encouraging people to modify their DNS settings!

The FF plugin ##foxyproxy## will forward select domains based upon regexp matches...we might be able to start with this, or at least use some of the ideas (it's GPL).

===Proof of concept===

Local end:

~- Enable network.proxy.socks_remote_dns
~- Set up SOCKS proxy to point to remote server
~- Note: foxyproxy can filter out the TLDs you want routed across the SOCKS proxy

Remote end:

~- Set up SOCKS server to listen to port of interest

Example:
%%
ssh -D 66.244.95.20:8888 66.244.95.20
On suso-xen:
ssh -l brian -D 66.244.95.20:8888 66.244.95.20 -p 8022
%%

To set up test env on laptop:

~- Control Panel->Network and Sharing Center->Change adapter settings
~- Right-click, Properties, ""IPv4"" Protocol, Properties
~- Use the following IP address: 192.168.0.129, 255.255.255.0, 192.168.0.50
~- Use the following DNS server addresses: 8.8.8.8

Issues:

~- Both DNS and HTTP traffic routed to proxy...is there any way to tell FF to route only DNS queries?
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki