setup socks5 server

using dante server

Installation

sudo apt-get install dante-server

Conf file

sudo nano /etc/danted.conf

logoutput: stderr
internal: enp3s0 port = 1080
external: enp3s0
socksmethod: none
clientmethod: none
user.privileged: proxy
user.unprivileged: nobody
user.libwrap: nobody
client pass {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: error connect disconnect
}
client block {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: connect error
}
socks pass {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: error connect disconnect
}
socks block {
        from: 0.0.0.0/0 to: 0.0.0.0/0
        log: connect error
}

Start and monitor usage

sudo service danted restart
tail -f /var/log/syslog

Git setup

$ cat .ssh/config
Host github.com
IdentityFile ~/.ssh/id_rsa_gmail
ProxyCommand /bin/nc -X 5 -x 192.168.50.202:1080 %h %p

Proxychains

installation

# to be downloaded from apt mirrors:
# libproxychains proxychains
sudo dpkg -i libproxychains3_3.1-7_amd64.deb proxychains_3.1-7_all.deb

configuration

sudo vi /etc/proxychains.conf

[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
socks5          192.168.50.202  1080

usage

sudo proxychains apt update
sudo proxychains apt upgrade

proxychains pip install pycaret