source: server/fedora/config/etc/sysconfig/iptables @ 213

Last change on this file since 213 was 213, checked in by presbrey, 15 years ago
block open portmap ports
File size: 1.6 KB
Line 
1# Generated by iptables-save v1.3.5 on Tue Jul 18 01:46:04 2006
2*mangle
3:PREROUTING ACCEPT [857:1670874]
4:INPUT ACCEPT [857:1670874]
5:FORWARD ACCEPT [0:0]
6:OUTPUT ACCEPT [1197:347244]
7:POSTROUTING ACCEPT [1195:345719]
8COMMIT
9# Completed on Tue Jul 18 01:46:04 2006
10# Generated by iptables-save v1.3.5 on Tue Jul 18 01:46:04 2006
11*nat
12:OUTPUT ACCEPT [0:0]
13:PREROUTING ACCEPT [0:0]
14:POSTROUTING ACCEPT [0:0]
15#-A PREROUTING -p tcp -m tcp --dport 3306 -j DNAT --to-destination 18.181.0.52:3306
16#-A POSTROUTING -p tcp -m tcp -d 18.181.0.52 --dport 3306 -j MASQUERADE
17COMMIT
18# Completed on Tue Jul 18 01:46:04 2006
19# Generated by iptables-save v1.3.5 on Tue Jul 18 01:46:04 2006
20*filter
21:INPUT ACCEPT [292118:164733476]
22-A INPUT -p tcp -m tcp --dport 5666 -s ! 18.187.1.128/255.255.255.255 -j REJECT
23-A INPUT -p tcp -m tcp --dport 199 -s ! 18.187.1.128/255.255.255.255 -j REJECT
24-A INPUT -p udp -m udp --dport 161 -s ! 18.187.1.128/255.255.255.255 -j REJECT
25-A INPUT -p tcp -m tcp -m multiport --dports 111,613,944,1004,2049 -s 18.181.0.53/255.255.255.255 -j ACCEPT
26-A INPUT -p tcp -m tcp -m multiport --dports 111,613,944,1004,2049 -s 18.181.0.57/255.255.255.255 -j ACCEPT
27-A INPUT -p tcp -m tcp -m multiport --dports 111,613,944,1004,2049 -j REJECT
28-A INPUT -p udp -m udp -m multiport --dports 111,2049 -s 18.181.0.53/255.255.255.255 -j ACCEPT
29-A INPUT -p udp -m udp -m multiport --dports 111,2049 -s 18.181.0.57/255.255.255.255 -j ACCEPT
30-A INPUT -p udp -m udp -m multiport --dports 111,2049 -j REJECT
31-A INPUT -s 18.7.7.102/255.255.255.255 -j REJECT
32:FORWARD ACCEPT [0:0]
33:OUTPUT ACCEPT [500523:537785790]
34COMMIT
35# Completed on Tue Jul 18 01:46:04 2006
Note: See TracBrowser for help on using the repository browser.