| 1 |
# Dante SOCKS5 server configuration for testing |
| 2 |
|
| 3 |
# Log settings |
| 4 |
logoutput: /var/log/dante/danted.log |
| 5 |
debug: 1 |
| 6 |
|
| 7 |
# Network interface configuration |
| 8 |
internal: 0.0.0.0 port = 1080 |
| 9 |
external: eth0 |
| 10 |
|
| 11 |
# Authentication methods |
| 12 |
socksmethod: none |
| 13 |
socksmethod: username |
| 14 |
|
| 15 |
# User for username/password auth |
| 16 |
user.privileged: root |
| 17 |
user.unprivileged: dante |
| 18 |
|
| 19 |
# Client access rules |
| 20 |
client pass { |
| 21 |
from: 0.0.0.0/0 to: 0.0.0.0/0 |
| 22 |
log: error |
| 23 |
} |
| 24 |
|
| 25 |
# SOCKS rules |
| 26 |
socks pass { |
| 27 |
from: 0.0.0.0/0 to: 0.0.0.0/0 |
| 28 |
protocol: tcp udp |
| 29 |
log: error |
| 30 |
} |
| 31 |
|
| 32 |
# Route rules |
| 33 |
route { |
| 34 |
from: 0.0.0.0/0 to: 0.0.0.0/0 via: eth0 |
| 35 |
protocol: tcp udp |
| 36 |
proxyprotocol: socks_v5 |
| 37 |
} |