=================================================================== RCS file: /home/cvsd/home/cvs/scripts/shell/firewall/fw-universal.sh,v retrieving revision 2.58 retrieving revision 2.59 diff -u -p -r2.58 -r2.59 --- scripts/shell/firewall/fw-universal.sh 2008/04/13 19:27:00 2.58 +++ scripts/shell/firewall/fw-universal.sh 2008/04/14 18:04:31 2.59 @@ -9,7 +9,7 @@ # Licensed under terms of GNU General Public License. # All rights reserved. # -# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.57 2008-02-02 22:57:54 rajo Exp $ +# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.58 2008-04-13 19:27:00 rajo Exp $ # # Changelog: # 2003-10-24 - created @@ -149,8 +149,13 @@ load_cache() if [ -f "$CACHE_FILE" ]; then print_info "Loading rules from cache file $CACHE_FILE" + + # this has nothing to do with IPtables rules, we need to run them explicitly + forward_on + shaping_on + + # restore IPtables rules $IPTABLES_RESTORE -c < $CACHE_FILE; - forward_on # this has nothing to do with IPtables rules, we need to run them explicitly exit 0; fi } # }}}