Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Monday, February 24, 2020

Diff for scripts/shell/firewall/fw-universal.sh between version 2.3 and 2.4

version 2.3, 2004/12/30 23:16:20 version 2.4, 2004/12/31 01:54:52
Line 9 
Line 9 
 # Licensed under terms of GNU General Public License.  # Licensed under terms of GNU General Public License.
 # All rights reserved.  # All rights reserved.
 #  #
 # $Platon: scripts/shell/firewall/fw-universal.sh,v 2.2 2004/12/12 18:00:11 rajo Exp $  # $Platon: scripts/shell/firewall/fw-universal.sh,v 2.3 2004/12/30 23:16:20 rajo Exp $
 #  #
 # Changelog:  # Changelog:
 # 2004-11-14 - created  # 2004-11-14 - created
Line 287  masquerade()
Line 287  masquerade()
   
   
                 # Keep state of connections from private subnets                  # Keep state of connections from private subnets
                 iptables -A OUTPUT  -m state --state NEW -o $NAT_LAN_IFACE -j ACCEPT                  $IPTABLES -A OUTPUT  -m state --state NEW -o $NAT_LAN_IFACE -j ACCEPT
                 iptables -A FORWARD -m state --state NEW -o $NAT_LAN_IFACE -j ACCEPT                  $IPTABLES -A FORWARD -m state --state NEW -o $NAT_LAN_IFACE -j ACCEPT
                 iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT                  $IPTABLES -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
                 echo " done."                  echo " done."
         fi          fi
 } # }}}  } # }}}

Legend:
Removed from v.2.3  
changed lines
  Added in v.2.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top