This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# url: http://www.rlworkman.net/conf/firewall/rc.firewall.desktop.generic | |
# Define variables | |
IPT=$(which iptables) # change if needed | |
EXT_IF=eth0 # external interface (connected to internet) | |
FIREWALL_CONF=/etc/iptables.conf | |
# Enable TCP SYN Cookie Protection | |
if [ -e /proc/sys/net/ipv4/tcp_syncookies ]; then |