For PBR , I have this configuration that I would like to put it in my network configuration
from 172.16.155.0.0/24 to 192.168.2.0/24 lookup main from 172.16.155.0/24 lookup table20 ( anything else except 192.168.2.0/24 network )
I have writen following configuration but it does not work
# Default route for PBR-default Table config route 'PBR' option table 'table20' option target '0.0.0.0/0' option interface 'eth1' # PBR for Source traffic config rule 'PBR' option src '172.16.155.0/24' option dest NOT '192.168.2.0/24' option in 'wg2' option lookup ''table20'
Do you have any idea ?