From 01b8c81e905099b98572effa3638f878ee64094e Mon Sep 17 00:00:00 2001 From: rofl0r Date: Thu, 16 Aug 2012 16:44:30 +0200 Subject: [PATCH] add some default localnets (commented) to config --- src/proxychains.conf | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/proxychains.conf b/src/proxychains.conf index d2da595..0326833 100644 --- a/src/proxychains.conf +++ b/src/proxychains.conf @@ -1,7 +1,7 @@ -# proxychains.conf VER 3.1 +# proxychains.conf VER 4.x # -# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS. -# +# HTTP, SOCKS4a, SOCKS5 tunneling proxifier with DNS. + # The option below identifies how the ProxyList is treated. # only one option should be uncommented at time, @@ -37,7 +37,7 @@ strict_chain # Proxy DNS requests - no leak for DNS data proxy_dns -# set the class A subnet number to usefor use of the internal remote DNS mapping +# set the class A subnet number to use for the internal remote DNS mapping # we use the reserved 224.x.x.x range by default, # if the proxified app does a DNS request, we will return an IP from that range. # on further accesses to this ip we will send the saved DNS name to the proxy. @@ -54,7 +54,8 @@ remote_dns_subnet 224 tcp_read_time_out 15000 tcp_connect_time_out 8000 -# Example for localnet exclusion +### Examples for localnet exclusion +## localnet ranges will *not* use a proxy to connect. ## Exclude connections to 192.168.1.0/24 with port 80 # localnet 192.168.1.0:80/255.255.255.0 @@ -64,6 +65,17 @@ tcp_connect_time_out 8000 ## Exclude connections to ANYwhere with port 80 # localnet 0.0.0.0:80/0.0.0.0 +## RFC5735 Loopback address range +## if you enable this, you have to make sure remote_dns_subnet is not 127 +## you'll need to enable it if you want to use an application that +## connects to localhost. +# localnet 127.0.0.0/255.0.0.0 + +## RFC1918 Private Address Ranges +# localnet 10.0.0.0/255.0.0.0 +# localnet 172.16.0.0/255.240.0.0 +# localnet 192.168.0.0/255.255.0.0 + # ProxyList format # type host port [user pass] # (values separated by 'tab' or 'blank')