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

Use string without mark number

This commit is contained in:
Ycarus 2018-07-10 14:24:05 +02:00
parent 598f2f43fa
commit d4ac85f242

View file

@ -36,7 +36,7 @@ start_service() {
ip rule add prio 1 fwmark 0x539 lookup 991337 > /dev/null 2>&1
if [ "$(iptables -t mangle -L | grep 'MARK set 0x539')" = "" ]; then
if [ "$(iptables -t mangle -L | grep 'match-set ss_rules_dst_bypass dst MARK set')" = "" ]; then
iptables-restore --noflush <<-EOF
*mangle
-A PREROUTING -m set --match-set ss_rules_dst_bypass dst -j MARK --set-mark 0x539