Repo: Handle 0.0.0.0 gateways properly in static routes
Posted: Tue Apr 12, 2011 5:32 pm
Hi Eric,
Those commands below are valid in iptables
- route add -net 192.168.1.0 netmask 255.255.255.0 eth1
- route add default gw 192.168.1.1
Converted to GUI
Current Static Routes:
Destination---------------------Interface------Gateway
192.168.1.0/255.255.255.0-wan-------------0.0.0.0
0.0.0.0/0.0.0.0----------------wan-------------192.168.1.1
I've checked the new codes; gw is now handled correct, but still invalid w. destination part 0.0.0.0/0.0.0.0
Those commands below are valid in iptables
- route add -net 192.168.1.0 netmask 255.255.255.0 eth1
- route add default gw 192.168.1.1
Converted to GUI
Current Static Routes:
Destination---------------------Interface------Gateway
192.168.1.0/255.255.255.0-wan-------------0.0.0.0
0.0.0.0/0.0.0.0----------------wan-------------192.168.1.1
I've checked the new codes; gw is now handled correct, but still invalid w. destination part 0.0.0.0/0.0.0.0