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

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
opav
Posts: 6
Joined: Sat Mar 02, 2013 8:47 am

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

Post 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                 |
------------------------------------------------------------------
TP-Link WR1043ND, Gargoyle 1.5.X

matonman
Posts: 4
Joined: Sat Oct 05, 2013 10:25 pm

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

Post by matonman »

Use this instead:

/usr/lib/gargoyle/restart_firewall.sh

Post Reply