57 lines
1.3 KiB
INI
57 lines
1.3 KiB
INI
# regular 3proxy configuration
|
|
flush
|
|
nserver 10.5.0.7/9053
|
|
nserver 10.5.0.6
|
|
nscache 65536
|
|
auth none
|
|
# Expose admin interface to host via docker port mapping (2002 -> 8161).
|
|
admin -p8161
|
|
# Keep compact per-request accounting in container logs.
|
|
log
|
|
logformat " type=%N destination=%n to=%O from=%I"
|
|
|
|
# Blocklist (plain 3proxy syntax).
|
|
deny * * vk.com
|
|
deny * * ok.ru
|
|
deny * * mail.ru
|
|
deny * * gosuslugi.ru
|
|
|
|
# regular 3proxy configuration again
|
|
|
|
## i2p sites
|
|
allow * * .i2p
|
|
#parent 1000 http 127.0.0.1 4444
|
|
parent 1000 socks5+ 10.5.0.2 4447
|
|
flush
|
|
|
|
## yggdrasil (127.0.0.1 1085 is second instanse)
|
|
allow * * 200::/7
|
|
parent 1000 socks5+ 127.0.0.1 1085
|
|
flush
|
|
|
|
## ygg domains resolving by alfis
|
|
allow * * .ygg
|
|
parent 1000 socks5+ 127.0.0.1 1085
|
|
flush
|
|
|
|
## meshnames domains resolving by meshnamed
|
|
allow * * .meshname
|
|
parent 1000 socks5+ 127.0.0.1 1085
|
|
flush
|
|
|
|
allow * * .meship
|
|
parent 1000 socks5+ 127.0.0.1 1085
|
|
flush
|
|
|
|
## onion sites
|
|
allow * * .onion
|
|
parent 1000 socks5+ 10.5.0.7 9050
|
|
flush
|
|
|
|
## clearnet via another proxy or change to tor (9050)
|
|
allow *
|
|
parent 1000 socks5+ 10.5.0.7 9050
|
|
|
|
socks -olSO_REUSEADDR,SO_REUSEPORT -ocTCP_TIMESTAMPS,TCP_NODELAY -osTCP_NODELAY -46 -i0.0.0.0 -p1088
|
|
proxy -olSO_REUSEADDR,SO_REUSEPORT -ocTCP_TIMESTAMPS,TCP_NODELAY -osTCP_NODELAY -46 -a1 -i0.0.0.0 -p3128
|