lineassis22
(usa Lubuntu)
Enviado em 26/08/2014 - 08:59h
Coloquei os seguintes comandos e apareceu isso:
root@Firewall:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp spt:9001
ACCEPT udp -- anywhere anywhere udp dpt:9001
ACCEPT udp -- anywhere anywhere udp dpt:8081
ACCEPT udp -- anywhere anywhere udp dpt:8081
ACCEPT gre -- anywhere anywhere
ACCEPT gre -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:47
ACCEPT tcp -- anywhere anywhere tcp dpt:1723
ACCEPT tcp -- anywhere anywhere tcp dpt:128
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp flags:FIN,SYN,RST,ACK/SYN
LOG all -- anywhere anywhere state INVALID LOG level warning prefix `_BLOCKED_: '
DROP all -- anywhere anywhere state INVALID
LOG tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning prefix `_BLOCKED_: '
DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN
DROP icmp -- anywhere anywhere icmp echo-request
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:6050
ACCEPT tcp -- anywhere anywhere tcp dpt:6050
ACCEPT udp -- anywhere anywhere udp dpt:9001
ACCEPT udp -- anywhere anywhere udp spt:9001
ACCEPT tcp -- anywhere anywhere tcp dpt:9001
ACCEPT udp -- anywhere anywhere udp dpt:8081
ACCEPT udp -- anywhere anywhere udp spt:8081
ACCEPT tcp -- anywhere anywhere tcp dpt:3389
ACCEPT gre -- anywhere anywhere
ACCEPT gre -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:47
ACCEPT tcp -- anywhere anywhere tcp dpt:1723
ACCEPT tcp -- anywhere anywhere tcp dpt:128
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
ACCEPT tcp -- anywhere anywhere tcp dpt:9001
ACCEPT udp -- anywhere anywhere udp dpt:9001
ACCEPT tcp -- anywhere anywhere tcp dpt:tproxy
ACCEPT udp -- anywhere anywhere udp dpt:8081
ACCEPT tcp -- anywhere anywhere tcp dpt:tproxy
ACCEPT udp -- anywhere anywhere udp dpt:8081
ACCEPT tcp -- anywhere anywhere tcp dpt:9001
ACCEPT udp -- anywhere anywhere udp dpt:9001
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT gre -- anywhere anywhere
ACCEPT gre -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:47
ACCEPT tcp -- anywhere anywhere tcp dpt:1723
ACCEPT tcp -- anywhere anywhere tcp dpt:128
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:47
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:1723
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:128
ACCEPT tcp -- 192.168.1.225 anywhere tcp dpt:9001
ACCEPT tcp -- 192.168.1.225 anywhere tcp dpt:tproxy
ACCEPT udp -- 192.168.1.225 anywhere udp dpt:9001
ACCEPT udp -- 192.168.1.225 anywhere udp dpt:8081
ACCEPT tcp -- 192.168.1.225 anywhere tcp dpt:9001
ACCEPT tcp -- 192.168.1.225 anywhere tcp dpt:tproxy
root@Firewall:~# iptables -V
iptables v1.4.8