=================================================================== RCS file: /home/cvsd/home/cvs/scripts/shell/firewall/fw-universal.sh,v retrieving revision 2.77 retrieving revision 2.78 diff -u -p -r2.77 -r2.78 --- scripts/shell/firewall/fw-universal.sh 2011/01/24 20:26:04 2.77 +++ scripts/shell/firewall/fw-universal.sh 2011/07/14 13:13:22 2.78 @@ -18,7 +18,7 @@ # Licensed under terms of GNU General Public License. # All rights reserved. # -# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.76 2011-01-16 12:18:14 nepto Exp $ +# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.77 2011-01-24 20:26:04 rajo Exp $ # # Changelog: # 2003-10-24 - created @@ -228,6 +228,10 @@ set_default_policy() { # {{{ # Set default policy for chain in INPUT OUTPUT FORWARD; do + if [ "X$XEN_MODE" = "Xon" -a "$chain" = "FORWARD" ]; then + $IPTABLES -P $chain ACCEPT; + continue; + fi $IPTABLES -P $chain $DEFAULT_POLICY done } # }}}