Reply
Highlighted
New Member
Posts: 8
Registered: ‎04-25-2016
Kudos: 5

Config Tree - Routing all Traffic by matching not fwmark

Hi everyone,

 

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?

Veteran Member
Posts: 7,023
Registered: ‎03-24-2016
Kudos: 1819
Solutions: 802

Re: Config Tree - Routing all Traffic by matching not fwmark

This is the edgerouter way to use special routing table for packets:

https://help.ubnt.com/hc/en-us/articles/204952274-EdgeRouter-Policy-Based-Routing

 

 

Reply