Difference between revisions of "DanteD Socks5 Proxy Server"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) m (Rafahsolis moved page Proxy SOCKS5 to DanteD Socks5 Proxy Server without leaving a redirect) |
Rafahsolis (talk | contribs) m (→Configure) Tag: visualeditor |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | == | + | ===Install=== |
| − | /etc/danted.conf | + | <syntaxhighlight lang="bash"> |
| − | + | sudo apt-get install dante-server | |
| + | sudo adduser proxyuser | ||
| + | sudo passwd proxyuser | ||
| + | sudo nano /etc/danted.conf | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | ===Configure=== | ||
| + | /etc/danted.conf<syntaxhighlight lang="text"> | ||
| + | #logoutput: syslog | ||
#logoutput: stderr | #logoutput: stderr | ||
logoutput: /var/log/danted.log | logoutput: /var/log/danted.log | ||
| Line 15: | Line 23: | ||
log: connect disconnect error | log: connect disconnect error | ||
} | } | ||
| − | + | ||
pass { | pass { | ||
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0 | from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0 | ||
protocol: tcp udp | protocol: tcp udp | ||
} | } | ||
| − | + | ||
#route { | #route { | ||
# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 192.0.2.1 port = 1080 | # from: 0.0.0.0/0 to: 0.0.0.0/0 via: 192.0.2.1 port = 1080 | ||
| Line 26: | Line 34: | ||
# method: none | # method: none | ||
#} | #} | ||
| − | + | ||
#route { | #route { | ||
# from: 0.0.0.0/0 to: 8.8.8.8/32 port = domain via: direct | # from: 0.0.0.0/0 to: 8.8.8.8/32 port = domain via: direct | ||
| − | #} | + | #} |
| − | </ | + | </syntaxhighlight> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 10:19, 29 March 2019
Install[edit]
sudo apt-get install dante-server
sudo adduser proxyuser
sudo passwd proxyuser
sudo nano /etc/danted.conf
Configure[edit]
/etc/danted.conf
#logoutput: syslog
#logoutput: stderr
logoutput: /var/log/danted.log
internal: ens33 port = 1080
#external: 192.168.1.158
external: 10.0.254.66
# user.privileged: proxy
user.notprivileged: nobody
# user.libwrap: nobody
method: username none
client pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
log: connect disconnect error
}
pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
protocol: tcp udp
}
#route {
# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 192.0.2.1 port = 1080
# proxyprotocol: socks_v4 socks_v5
# method: none
#}
#route {
# from: 0.0.0.0/0 to: 8.8.8.8/32 port = domain via: direct
#}