Currently set port 30001 in the data, finally walk ppp0 out,
iptables -a PREROUTING -t mangle -p TCP -- dport 30001 - j MARK - set - MARK 8
The iptables -a PREROUTING -t mangle - j CONNMARK - save - mark
The iptables -a PREROUTING -t mangle - j CONNMARK - restore - mark
IP add rule from all fwmark 8 table 9
IP route add 0/0 dev ppp0 scope link table 9
IP route to flush the cache
CodePudding user response:
Didn't match any iptables export routing, and learning