This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
firewall [2015/06/01 16:14]
steve [IPfire]
firewall [2015/06/01 16:14]
Line 9: Line 9:
 ==== iptables ==== ==== iptables ====
-I like using quicktables to setup a basic IPtables ruleset quickly.+I like using [[quicktables]] to setup a basic IPtables ruleset quickly.
 === Setting up a Firewall === === Setting up a Firewall ===
Line 35: Line 35:
 <​code>​ <​code>​
 $iptables -A INPUT -p tcp -s​24 --dport 548 -j ACCEPT $iptables -A INPUT -p tcp -s​24 --dport 548 -j ACCEPT
-$iptables -A INPUT -p tcp -s​24 --dport 548 -j ACCEPT 
 </​code>​ </​code>​