a minute read (About 118 words)
How to install sock5 proxy on ubuntu
Server environment
1 2
| $ cat /etc/issue Ubuntu 14.04.4 LTS
|
Install dante
1
| $ apt-get install dante-server
|
If System is 64-bits
1 2
| $ cd /lib/x86_64-linux-gnu/ $ ln -s libc.so.6 libc.so
|
Add a user for dante
1 2
| $ useradd proxyuser $ passwd proxyuser
|
Create log directory
Config Dante
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| logoutput: /var/log/sockd/sockd.log internal: 112.74.79.4 port = 1080 external: 112.74.79.4 method: username none user.privileged: proxyuser user.notprivileged: nobody user.libwrap: nobody client pass { from: 0.0.0.0/0 to: 0.0.0.0/0 log: connect disconnect } pass { from: 0.0.0.0/0 to: 0.0.0.0/0 port gt 1023 command: bind log: connect disconnect } pass { from: 0.0.0.0/0 to: 0.0.0.0/0 command: connect udpassociate log: connect disconnect } block { from: 0.0.0.0/0 to: 0.0.0.0/0 log: connect error }
|
Start Dante
1
| $ /etc/init.d/danted start
|
Check listen success
1
| $ netstat -anp | grep 10080
|
Thank you for reading.
This post is copyrighted by Liyuliang’s Blog.
If reproduced, please indicate the source: Liyuliang’s Blog
This blog uses Creative Commons Attribution-NonCommercial-Share-Sharing 4.0 International License Agreement to license.