Transparent SOCKS proxy client
It’s the way to help the program not support SOCKS implement.
1. Tsocks:
My simple config with /etc/tsocks.conf:
local = [local_address]
server = [sock_server]
server_type = [type]
server_port = [port]
Where is [local_address] is ip address will not using via SOCKS, [socks_server] and [port] is address and port SOCKS server, [type] is 4 or 5 for type of SOCKS server.
2. Dante:
In dante-client side, i edit /etc/dante.conf (in Debian base system) or /etc/socks.conf (in default). I.e, here is my config:
resolveprotocol: fake
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: [sock_server] port = [port]
proxyprotocol: socks_v5
}
For detail, man socks.conf
3. Runsocks:
In my opinion, runsocks support SOCKS better than tsocks and dante. In some program as gyachi, squid not work with tsocks, dante-client, but runsocks works fine.
My config in /etc/libsocks5.conf:
noproxy – 172. – - -
socks5 – - – - [socks_server]:[port]
For detail, man runsocks.
[...] 16th, 2007 at 10:13 pm (Uncategorized) Previous post, we know how to transparent SOCKS proxy with tsocks, dante, runsocks. But now my proxy server has [...]
Just FYI, there is another socksifier for linux: ProxyChains.
I have tried it with Squid and they are working!