Page 1 of 1

Gargoyle rules missing after /etc/init.d/firewall restart

Posted: Sun Feb 23, 2014 12:05 am
by opav
Gargoyle iptables rules are lost after a '/etc/init.d/firewall restart'.

All its ingress/egress rules are missing and return only after I do a full reboot.

Any workaround beside doing a full reboot?

Code: Select all

 root@Gargoyle:/etc# /etc/init.d/firewall restart
 * Flushing IPv4 filter table
 * Flushing IPv4 nat table
 * Flushing IPv4 mangle table
 * Flushing IPv4 raw table
 * Flushing conntrack table ...
 * Populating IPv4 filter table
   * Zone 'lan'
   * Zone 'wan'
   * Rule 'Allow-DHCP-Renew'
   * Rule 'Allow-Ping'
   * Forward 'lan' -> 'wan'
 * Populating IPv4 nat table
   * Zone 'lan'
   * Zone 'wan'
 * Populating IPv4 mangle table
   * Zone 'lan'
   * Zone 'wan'
 * Populating IPv4 raw table
   * Zone 'lan'
   * Zone 'wan'
 * Set tcp_ecn to off
 * Set tcp_syncookies to on
 * Set tcp_window_scaling to on
 * Running script '/etc/firewall.user'
 * Running script '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
 * Running script '/etc/openvpn.firewall'
 * Running script '/usr/share/miniupnpd/firewall.include'

Gargoyle version:

Code: Select all

|----------------------------------------------------------------|
| Gargoyle version 1.5.X    | OpenWrt Attitude Adjustment branch |
| Gargoyle revision 67edfb1 | OpenWrt revision r38347            |
| Built leden 12, 2014      | Target  ar71xx/usb                 |
------------------------------------------------------------------

Re: Gargoyle rules missing after /etc/init.d/firewall restar

Posted: Thu Feb 27, 2014 9:47 pm
by matonman
Use this instead:

/usr/lib/gargoyle/restart_firewall.sh