Hello
How to do the following using UCI (/etc/config/network)?
- Add "200 vpn" to /etc/iproute2/rt_table
- ip route add default via A.B.C.D table vpn
- ip rule add from Z.X.0.0/16 lookup vpn
Hello
How to do the following using UCI (/etc/config/network)?
echo "200 vpn" >> /etc/iproute2/rt_tables
(or use the table index directly)config route
option interface XXX # related logical interface
option target 0.0.0.0/0
option gateway A.B.C.D
option table vpn
config rule
option src Z.X.0.0/16
option lookup vpn
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.