• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

darwin/H20-Feb-2008-7934

freebsd/H20-Feb-2008-7735

linux/H20-Feb-2008-7935

man/H03-May-2022-16289

netbsd/H20-Feb-2008-7735

src/H03-May-2022-3,1522,336

.license-catalog.mkH A D03-May-2022205 65

.license-reportH A D03-May-202281 21

CHANGELOGH A D03-Jul-2013699 2717

INSTALLH A D15-Feb-2008517 127

LICENSEH A D15-Feb-20081.3 KiB2624

READMEH A D20-Feb-20081.1 KiB2112

csocks.confH A D20-Feb-20081.1 KiB3413

install_darwin.shH A D20-Feb-2008468 2317

install_freebsd.shH A D15-Feb-2008632 3124

install_linux.shH A D15-Feb-2008620 3124

install_netbsd.shH A D20-Feb-2008620 3223

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