server:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all — anywhere anywhere
ACCEPT all — anywhere anywhere state RELATED,ESTABLISHED
REJECT tcp — anywhere anywhere tcp dpt:auth reject-with tcp-reset
ACCEPT tcp — anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT tcp — anywhere anywhere tcp dpt:www flags:SYN,RST,ACK/SYN
ACCEPT tcp — anywhere anywhere tcp dpt:https flags:SYN,RST,ACK/SYN
ACCEPT tcp — anywhere anywhere tcp dpt:smtp flags:SYN,RST,ACK/SYN
ACCEPT tcp — anywhere anywhere tcp dpt:imaps flags:SYN,RST,ACK/SYN
ACCEPT udp — anywhere anywhere udp dpt:ntp
ACCEPT udp — anywhere anywhere udp dpt:domain
ACCEPT icmp — anywhere anywhere
ACCEPT all — anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all — anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT tcp — anywhere 192.168.0.194 tcp dpt:5902
ACCEPT tcp — anywhere 192.168.0.194 tcp dpt:5900
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
legutóbbi hsz