10-18-2018 11:20 AM
I am a friend of the config tree in edgeos as it helps to get everything right. You can then easily catch the commands before applying and get it right the next time.
Now I am struggeling a bit as I want to test out stuff I've seen working on other systems.
On a normal Linux I would fire following commands:
# wg set wg0 fwmark 122 # ip route add default dev wg0 table 10 # ip rule add not fwmark 122 table 10 # ip rule add table main suppress_prefixlength 0
Its same as described here: https://www.wireguard.com/netns/#routing-all-your-traffic
I can't find in the config tree the option to _not_ match 122.
Can someone show me please?
10-18-2018 11:57 AM
This is the edgerouter way to use special routing table for packets: