Closed jeffmccune closed 4 years ago
Fix this and added restart behavior. Rules and routes don't pile up:
(sudo ip rule list; sudo ip route list table all) > before.txt
sudo systemctl restart policy-routing
(sudo ip rule list; sudo ip route list table all) > after.txt
There's no difference between before.txt and after.txt
Iptables marking is unnecessary and introduces a dependency on netfilter. To eliminate this dependency, switch to using iproute2 rules to implement the "virtual wire"
See ip-rule