README
1 CSOCKS - (c) Raffaele De Lorenzo (raffaele.delorenzo@libero.it)
2
3 CSOCKS is easy to use: if you want to socksify your favorite application (f.e. ssh), simple you must write the command:
4
5csocks ssh 172.30.28.56
6
7Before this, you must configure the CSOCKS configuration file (usually is /usr/local/etc/csocks.conf in FreeBSD and /etc/csocks.conf in Linux). You must indicate for all rules:
8
9Socks protocol (socks4 or socks5)
10Destination Address, NetMask (IPv4 and IPv6)
11Destination Port (you can specify "0" for all ports [only OUT rule])
12Destination Address for socks Server and port
13Protocol (TCP or UDP)
14Direction (IN for Active connections and OUT for other)
15
16
17socks5 172.30.28.56 255.255.255.0 22 10.253.34.156 1080 TCP OUT
18
19In the csocks.conf you can indicate the username (socks4 and 5) and password (only socks5) used globally. In alternative you can set CSOCKS_USER and CSOCKS_PASSWD environment (in this case the global declarations in csocks.conf are ignored). Remember that inbound connection rule must have a corrispective outbound connection rule, this is necessary for RFC compliant.
20
21