| Line 8: |
Line 8: |
| | | | |
| | ===Configure=== | | ===Configure=== |
| − | /etc/danted.conf | + | /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> |