mirror of
https://github.com/house-of-vanity/house-of-vanity.github.io.git
synced 2025-07-06 08:24:08 +00:00
Update openwrt-shadowsocks.md
Some checks failed
Build and deploy GH Pages / build (push) Failing after 1m5s
Some checks failed
Build and deploy GH Pages / build (push) Failing after 1m5s
This commit is contained in:
committed by
GitHub
parent
78eddbe75a
commit
9d7cb16786
@ -77,6 +77,9 @@ if [ "$action" = "on" ]; then
|
||||
iptables -t nat -A $chain -d 192.168.0.0/16 -j RETURN
|
||||
iptables -t nat -A $chain -p tcp -j REDIRECT --to-ports $port
|
||||
iptables -t nat -A PREROUTING -i br-lan -p tcp -j $chain
|
||||
|
||||
# Drop existing connections
|
||||
conntrack -F
|
||||
else
|
||||
# Delete iptables rules
|
||||
iptables -t nat -D PREROUTING -i br-lan -p tcp -j $chain
|
||||
|
Reference in New Issue
Block a user