Skip to content

Instantly share code, notes, and snippets.

@Galeas
Created April 17, 2018 11:23
Show Gist options
  • Save Galeas/53d8bce4c789dcb8e57439d2138339ef to your computer and use it in GitHub Desktop.
Save Galeas/53d8bce4c789dcb8e57439d2138339ef to your computer and use it in GitHub Desktop.
Dante config
#logoutput: /var/log/socks.log
logoutput: stderr
# socks clients interface and port
internal: eth0 port = 1080
# external interface and port
external: eth0
#internal: x.x.x.x port = 1080
#external: x.x.x.x
# Clients auth method. none - without authorization.
socksmethod: username
#socksmethod: username none
user.privileged: root
user.notprivileged: nobody
client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: error connect disconnect
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: error connect disconnect
}
socks block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment