socks5 proxy
Posted on .
$ uname -a
$ cd /usr/ports/net/socks5FreeBSD host 7.0-RELEASE-p7 FreeBSD 7.0-RELEASE-p7 #0: Sun Dec 21 12:33:45 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src sys/GENERIC i386
$ sudo make install clean
$ socks5 -v
$ cat /usr/local/etc/socks5.confSocks5 version: Socks5 v1.0r11
$ sudo /usr/local/etc/rc.d/socks5 startset SOCKS5_BINDINTFC 10.0.0.1:1080 set SOCKS5_MAXCHILD 20 set SOCKS5_NOIDENT set SOCKS5_TIMEOUT 5 interface 10.0.0.5 - ste0 interface 10.0.0.13 - ste0 auth 10.0.0.5 - n auth 10.0.0.13 - n permit - - 10.0.0.5 - - - - permit - - 10.0.0.13 - - - - deny - - - - - - -
$ sudo vim /etc/syslog.conf:
$ sudo touch /var/log/socks5.log!Socks5 *.* /var/log/socks5.log
$ sudo /etc/rc.d/syslogd restart