1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Fix IPv6 support in omr-bypass

This commit is contained in:
Ycarus 2018-10-16 17:28:55 +02:00
parent 2f43055c21
commit 94e4f22537

View file

@ -96,7 +96,7 @@ _intf_rule() {
COMMIT
EOF
if [ "$(ip6tables -w 40 -t nat -L | grep ss_rules6_pre_src)" != "" ]; then
iptables-restore --wait=60 --noflush <<-EOF
ip6tables-restore --wait=60 --noflush <<-EOF
*nat
-I ss_rules6_pre_src 1 -m mark --mark 0x539$count -j RETURN
-I ss_rules6_local_out 1 -m mark --mark 0x539$count -j RETURN