|
From: Bruce S. <bl...@us...> - 2005-09-21 12:36:07
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8182 Modified Files: Tag: rel-1-2-patches firewall.rules.2nic Log Message: Oops. :-) Index: firewall.rules.2nic =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/firewall.rules.2nic,v retrieving revision 1.13.2.2 retrieving revision 1.13.2.3 diff -u -d -r1.13.2.2 -r1.13.2.3 --- firewall.rules.2nic 10 Aug 2005 20:38:36 -0000 1.13.2.2 +++ firewall.rules.2nic 21 Sep 2005 12:35:59 -0000 1.13.2.3 @@ -122,8 +122,8 @@ # chmod a+x /root # Block outgoing port 25 to prevent spam from being sent [ -n "$LOGGING" ] && \ - ${IPTABLES} -A FORWARD -p tcp --dport 25 -i ${DMZ_DEV} -j LOG --log-prefix "Outgoing email: " - ${IPTABLES} -A FORWARD -p tcp --dport 25 -i ${DMZ_DEV} -j REJECT + ${IPTABLES} -A FORWARD -p tcp --dport 25 -i ${OUT_DEV} -j LOG --log-prefix "Outgoing email: " + ${IPTABLES} -A FORWARD -p tcp --dport 25 -i ${OUT_DEV} -j REJECT # Open up 443 (https) for BScap admin connections from the outside. # Add a "-s" to limit the connections to a specific network or IP. ${IPTABLES} -A INPUT -p tcp --dport 443 -i ${OUT_DEV} -j ACCEPT |