Skip to content

Tag Archives: Firewall

Ubuntu Server Firewall Script

20-Jun-10

# Clear any existing firewall stuff before we start iptables –flush iptables -t nat –flush iptables -t mangle –flush # As the default policies, drop all incoming traffic but allow all # outgoing traffic. This will allow us to make outgoing connections # from any port, but will only allow incoming connections on the ports [...]