summaryrefslogtreecommitdiffstats
path: root/wu-system/wu-iptables.sh
blob: 67b06d497c36f1cb49bca2feb235f4cda0b9be6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#? /bin/sh

# reset tables
ipXtables -P INPUT DROP
ipXtables -P FORWARD DROP
ipXtables -F
ipXtables -X


ipXtables -N Retiolum

ipXtables -A INPUT -j Retiolum -i retiolum

ipXtables -A Retiolum -j ACCEPT -p tcp --dport smtp -m conntrack --ctstate NEW


etc.