Last active
April 16, 2018 15:05
-
-
Save ingria/145de64506563e26ea112fffcaf8d44c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/danted.conf | |
logoutput: syslog /var/log/sockd.log | |
internal: ens3 port = 1080 | |
external: ens3 | |
clientmethod: none | |
socksmethod: none | |
# Если нужна авторизация, заменить на: | |
# socksmethod: username | |
user.privileged: root | |
user.unprivileged: nobody | |
user.libwrap: nobody | |
client pass { | |
from: 0.0.0.0/0 to: 0.0.0.0/0 | |
log: error | |
} | |
# AS62041 | |
socks pass { from: 0.0.0.0/0 to: 149.154.160.0/20 } | |
socks pass { from: 0.0.0.0/0 to: 149.154.164.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.4.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.8.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.56.0/22 } | |
socks pass { from: ::/0 to: 2001:67c:4e8::/48 } | |
# AS44907 | |
socks pass { from: 0.0.0.0/0 to: 91.108.20.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.36.0/23 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.38.0/23 } | |
socks pass { from: ::/0 to: 2001:b28:f23c::/48 } | |
# AS62014 | |
socks pass { from: 0.0.0.0/0 to: 149.154.168.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.16.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.56.0/23 } | |
socks pass { from: ::/0 to: 2001:b28:f23f::/48 } | |
# AS59930 | |
socks pass { from: 0.0.0.0/0 to: 149.154.172.0/22 } | |
socks pass { from: 0.0.0.0/0 to: 91.108.12.0/22 } | |
socks pass { from: ::/0 to: 2001:b28:f23d::/48 } | |
socks pass { | |
from: 0.0.0.0/0 to: .telegram.org | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment