diff --git a/contrib/i2pd.conf b/contrib/i2pd.conf index eaca4103..4dd21897 100644 --- a/contrib/i2pd.conf +++ b/contrib/i2pd.conf @@ -136,6 +136,8 @@ port = 4447 # keys = socks-proxy-keys.dat ## Socks outproxy. Example below is set to use Tor for all connections except i2p +## Uncomment and set to 'true' to enable using of SOCKS outproxy +# outproxy.enabled = false ## Address and port of outproxy # outproxy = 127.0.0.1 # outproxyport = 9050 diff --git a/libi2pd_client/ClientContext.cpp b/libi2pd_client/ClientContext.cpp index 1c5d99d0..7479f126 100644 --- a/libi2pd_client/ClientContext.cpp +++ b/libi2pd_client/ClientContext.cpp @@ -517,7 +517,7 @@ namespace client if (type == I2P_TUNNELS_SECTION_TYPE_SOCKS) { // socks proxy - clientTunnel = new i2p::proxy::SOCKSProxy(address, port, "", destinationPort, localDestination); + clientTunnel = new i2p::proxy::SOCKSProxy(address, port, false, "", destinationPort, localDestination); clientEndpoint = ((i2p::proxy::SOCKSProxy*)clientTunnel)->GetAcceptor().local_endpoint(); } else if (type == I2P_TUNNELS_SECTION_TYPE_HTTPPROXY)