Use global configuration file and change range to /8

This commit is contained in:
Alex 2020-05-09 17:54:42 +02:00
parent 63873d89d1
commit ecc6fc928d
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 3 additions and 11 deletions

View File

@ -1,7 +1,7 @@
SocksPort {{ tor.listen.socks.addr }}:{{ tor.listen.socks.port }} SocksPort {{ services.tor.listen.socks.addr }}:{{ services.tor.listen.socks.port }}
SocksPolicy accept {{ tor.listen.socks.addr }}/24 SocksPolicy accept {{ services.tor.listen.socks.addr }}/8
SocksPolicy reject * SocksPolicy reject *
HTTPTunnelPort {{ tor.listen.http.addr }}:{{ tor.listen.http.port }} HTTPTunnelPort {{ services.tor.listen.http.addr }}:{{ services.tor.listen.http.port }}
AvoidDiskWrites 1 AvoidDiskWrites 1
ClientOnly 1 ClientOnly 1
ConnectionPadding 1 ConnectionPadding 1

View File

@ -1,8 +0,0 @@
tor:
listen:
socks:
addr: "127.0.0.1"
port: "9050"
http:
addr: "127.0.0.1"
port: "7050"