mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix IPv6 support in omr-bypass
This commit is contained in:
parent
2f43055c21
commit
94e4f22537
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ _intf_rule() {
|
||||||
COMMIT
|
COMMIT
|
||||||
EOF
|
EOF
|
||||||
if [ "$(ip6tables -w 40 -t nat -L | grep ss_rules6_pre_src)" != "" ]; then
|
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
|
*nat
|
||||||
-I ss_rules6_pre_src 1 -m mark --mark 0x539$count -j RETURN
|
-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
|
-I ss_rules6_local_out 1 -m mark --mark 0x539$count -j RETURN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue