| 1 | Harvie's Firewall |
| 2 | <-Harvie 2oo7 |
| 3 | Version 0.1 Alpha |
| 4 | |
| 5 | Loading rulesfile hfwrules.conf... Loaded! |
| 6 | |
| 7 | Rules info: |
| 8 | Author: Harvie 2oo7 |
| 9 | Description: Sample HFW Configuration File (THX2 http://www.brandonhutchinson.com/iptables_fw.html) |
| 10 | |
| 11 | Rules Others: |
| 12 | Ignore ICMP echo-request messages sent to broadcast or multicast addresses |
| 13 | Enable TCP SYN cookie protection from SYN floods |
| 14 | Enable source address spoofing protection |
| 15 | Log packets from Martians (with impossible source addresses) |
| 16 | |
| 17 | Rules IPTables: |
| 18 | Flush old rules |
| 19 | Allow all traffic on loopback |
| 20 | Default policies: INPUT DROP, OUTPUT DROP, FORWARD DROP, |
| 21 | Open ports: 80, 22, |
| 22 | Other traffic will be droped |
| 23 | |
| 24 | Closing fwscript.sh |
| 25 | chmod u+x fwscript.sh |