1
0
mirror of https://github.com/house-of-vanity/house-of-vanity.github.io.git synced 2026-05-06 22:41:20 +00:00

Update openwrt-shadowsocks.md
Build and deploy GH Pages / build (push) Failing after 1m5s

This commit is contained in:
Alexandr Bogomyakov
2025-06-16 16:44:17 +01:00
committed by GitHub
parent 78eddbe75a
commit 9d7cb16786
+3
View File
@@ -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