Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get update
- sudo apt-get upgrade
- wget https://launchpad.net/ubuntu/+archive/primary/+files/dante-server_1.4.2+dfsg-2build1_amd64.deb
- dpkg -i dante-server_1.4.2+dfsg-2build1_amd64.deb
- echo '
- logoutput: syslog /var/log/danted.log
- internal: eth0 port = 1080
- external: eth0
- socksmethod: username
- user.privileged: root
- user.unprivileged: nobody
- client pass {
- from: 0.0.0.0/0 to: 0.0.0.0/0
- log: error
- }
- socks pass {
- from: 0.0.0.0/0 to: 0.0.0.0/0
- command: connect
- log: error
- method: username
- }' > /etc/danted.conf
- # basic ufw installation
- sudo apt-get install ufw
- sudo ufw status
- # https://wiki.dieg.info/socks
- sudo ufw allow ssh
- sudo ufw allow proto tcp from any to any port 1080
- sudo ufw status numbered
- sudo ufw enable
- sudo systemctl enable danted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement