Show
Ignore:
Timestamp:
04/20/05 12:56:34 (8 years ago)
Author:
aprilp
Message:

Insert ourselves at the end of filter.FORWARD instead of
at the beginning since important FW instructions are located there on the
WRT54Gs when used with some DSL providers and we never execute them
otherwise.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/src/fw_iptables.c

    r531 r557  
    256256 
    257257                        /* Assign links and rules to these new chains */ 
    258                         iptables_do_command("-t filter -I FORWARD 1 -i %s -j " TABLE_WIFIDOG_WIFI_TO_INTERNET, gw_interface); 
     258                        iptables_do_command("-t filter -A FORWARD -i %s -j " TABLE_WIFIDOG_WIFI_TO_INTERNET, gw_interface); 
    259259                        iptables_do_command("-t filter -A " TABLE_WIFIDOG_WIFI_TO_INTERNET " -j " TABLE_WIFIDOG_AUTHSERVERS); 
    260260                        iptables_fw_set_authservers();