October 01, 2013

Socksifying with Dante socks

Installing Dante socks

Official Dante SOCKS page: http://www.inet.no/dante/

Download and install Dante SOCKS from source code

wget -c ftp://ftp.inet.no/pub/socks/dante-1.3.2.tar.gz
tar xvzf dante-1.3.2.tar.gz
cd dante-1.3.2/
./configure --prefix=/usr
make -j2
make install

Configure Dante SOCKS In the following example our socks server is 120.70.70.77 on port 1080/tcp.

[root@laptop ~]# cat /etc/socks.conf
#route to SOCKS server which supports both SOCKS version 4 and 5
route {
        from: 0.0.0.0/0 to: 0.0.0.0/0 via: 120.70.70.77 port = 1080
        proxyprotocol: socks_v4 socks_v5
        method: none
}

Finally you can connect anywhere with Dante socks.

Example

Windows Remote Desktop (RDP) connection to 18.100.10.15

socksify rdesktop -g 1200x800 -EPbz 18.100.10.15