PBR issue in network configuration

For PBR , I have this configuration that I would like to put it in my network configuration

from to lookup main
from  lookup table20 ( anything else except 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 ''
    option interface 'eth1'

# PBR for Source  traffic
config rule 'PBR'
    option src  ''
    option dest  NOT '' 
    option in 'wg2'
    option lookup ''table20'

Do you have any idea ?
Thank you

do you have the output of ip rule?

This has resolved by changing Proto to static

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.