Difference between revisions of "DanteD Socks5 Proxy Server"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) |
Rafahsolis (talk | contribs) m (→Configure) Tag: visualeditor |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | ===Install=== | |
| − | + | <syntaxhighlight lang="bash"> | |
| − | + | sudo apt-get install dante-server | |
| + | sudo adduser proxyuser | ||
| + | sudo passwd proxyuser | ||
| + | sudo nano /etc/danted.conf | ||
| + | </syntaxhighlight> | ||
| − | Configure | + | ===Configure=== |
| − | + | /etc/danted.conf<syntaxhighlight lang="text"> | |
| − | # | + | #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 | |
| − | + | #} | |
| − | + | </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
#}