Reply
Highlighted
New Member
Posts: 2
Registered: ‎12-02-2015

Question about setting up policy-based routing on EdgeRouter

Hello, I'm trying to set up a policy-based firewall route using an EdgeRouter X and when I attempt to set the following command:

ubnt@RTR# set firewall modify SOURCE_ROUTE rule 10 description 'traffic from eth2.100 to ISP1' ubnt@RTR# set firewall modify SOURCE_ROUTE rule 10 source address 192.168.0.0/24 ubnt@RTR# set firewall modify SOURCE_ROUTE rule 10 modify table 1

I receive the following output:

Error: [sudo /sbin/iptables-restore -n -v 2> /tmp/iptables.out] = 512<br />Iptables restore OK

Commit Failed

I've used the guide here: https://help.ubnt.com/hc/en-us/articles/204952274-EdgeRouter-Policy-based-routing-source-address-bas..., but the issue is still present.

I'm wondering if someone could provide me any information on how to set up the firewall rule.

Reply