Comments on Setting Up An Iptables Firewall On Ubuntu With Firehol
Setting Up An Iptables Firewall On Ubuntu With Firehol Everybody, who tried to configure an iptables firewall knows, that it can be quite a PITA. firehol is a tool that helps us to configure iptables according to our needs. In this How-To, I will discribe how to set up an iptables firewal using firehol that only allows SSH and ICMP (the protocol responsible for ping and traceroute). Also, only incoming connections are filtered, and outgoing connections are allowed.
1 Comment(s)
Add comment
Comments
By:
instead of the copy, you can use this to get it done in one line:
sed -i .backup -e 's/%q/%b/g' /lib/firehol/firehol