Initial commit.
This commit is contained in:
commit
3d665e5e11
72 changed files with 3200 additions and 0 deletions
14
sample-rc.d/rc.firewall-old
Executable file
14
sample-rc.d/rc.firewall-old
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
IPTABLES=/usr/sbin/iptables
|
||||
|
||||
# Flush the tables.
|
||||
$IPTABLES -F
|
||||
|
||||
# Drop bootp ports.
|
||||
$IPTABLES -m multiport -A INPUT -p tcp --dports 67,68 -j DROP
|
||||
$IPTABLES -m multiport -A INPUT -p udp --dports 67,68 -j DROP
|
||||
|
||||
# Drop netbios ports.
|
||||
$IPTABLES -m multiport -A INPUT -p tcp --dports 137,138,139 -j DROP
|
||||
$IPTABLES -m multiport -A INPUT -p udp --dports 137,138,139 -j DROP
|
Loading…
Add table
Add a link
Reference in a new issue