Created Ban Connection to localhost (markdown)

clowwindy 2015-01-12 23:17:44 +08:00
parent 3c105fa3c4
commit ed90637c45

@ -0,0 +1,7 @@
From 2.6.3, you can forbid the server to connect to some IP, i.e. 127.0.0.1.
ssserver -c /etc/shadowsocks.json --forbidden-ip 127.0.0.1,::1
Notice only IPv4 and IPv6 addresses are allowed. This is because if a client
tries to visit a hostname, like `localhost`, it will be resolved into
`127.0.0.1` or `::1`, it still gets blocked.