jlaudirt
(usa Slackware)
Enviado em 17/07/2009 - 16:58h
iptables-save>>>>
# Generated by iptables-save v1.4.0 on Fri Jul 17 16:03:33 2009
*mangle
:PREROUTING ACCEPT [16869:11876529]
:INPUT ACCEPT [14214:9742576]
:FORWARD ACCEPT [2655:2133953]
:OUTPUT ACCEPT [17199:10099079]
:POSTROUTING ACCEPT [19855:12233110]
COMMIT
# Completed on Fri Jul 17 16:03:33 2009
# Generated by iptables-save v1.4.0 on Fri Jul 17 16:03:33 2009
*nat
:PREROUTING ACCEPT [290:15814]
:POSTROUTING ACCEPT [5:378]
:OUTPUT ACCEPT [385:23178]
-A PREROUTING -d 192.168.0.0/24 -p tcp -j LOG
-A PREROUTING -i eth0 -p tcp -m tcp --dport 3389 -j DNAT --to-destination 192.168.0.3
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5900 -j DNAT --to-destination 192.168.0.13
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5901 -j DNAT --to-destination 192.168.0.3
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5902 -j DNAT --to-destination 192.168.0.2
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5903 -j DNAT --to-destination 192.168.0.5
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5904 -j DNAT --to-destination 192.168.0.39
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5905 -j DNAT --to-destination 192.168.0.25
-A PREROUTING -i eth0 -p tcp -m tcp --dport 5906 -j DNAT --to-destination 192.168.0.12
-A PREROUTING -d 200.201.0.0/16 -p tcp -j ACCEPT
-A PREROUTING -d 200.201.174.202/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.202:80
-A PREROUTING -d 200.201.174.203/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.203:80
-A PREROUTING -d 200.201.174.204/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.204:80
-A PREROUTING -d 200.201.174.205/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.205:80
-A PREROUTING -d 200.201.174.206/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.206:80
-A PREROUTING -d 200.201.174.207/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.207:80
-A PREROUTING -d 200.201.174.208/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.208:80
-A PREROUTING -d 200.201.174.209/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 200.201.174.209:80
-A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
-A PREROUTING -p tcp -m tcp --dport 8080 -j DNAT --to-destination 192.168.0.1:8080
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
# Completed on Fri Jul 17 16:03:33 2009
# Generated by iptables-save v1.4.0 on Fri Jul 17 16:03:33 2009
*filter
:INPUT ACCEPT [14033:9696397]
:FORWARD ACCEPT [2449:2098627]
:OUTPUT ACCEPT [17186:10097467]
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 1194 -j ACCEPT
-A FORWARD -d 200.201.0.0/16 -p tcp -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p icmp -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 25 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 22 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 21 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 110 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 443 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 3389 -j ACCEPT
-A FORWARD -i eth1 -o eth0 -p tcp -m tcp --dport 80 -j ACCEPT
-A FORWARD -i eth0 -o eth1 -p tcp -m tcp --dport 3389 -j ACCEPT
-A FORWARD -i eth0 -o eth1 -p tcp -m tcp --dport 5900 -j ACCEPT
COMMIT
# Completed on Fri Jul 17 16:03:33 2009