-1
我有这个iptables配置,它应该让我做在同一个子网中的远程机器的ssh,但我甚至不能做ping。发生了什么?iptables规则我不能做任何事
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
WHITELIST tcp -- anywhere anyrhere tcp dpt:ssh
tcp -- anywhere anywhere tcp dpt:ssh state NEW recent: SET name: DEFAULT side: source
LOG all -- anywhere anywhere recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source LOG level warning
DROP all -- anywhere anywhere recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh state NEW
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
Chain WHITELIST (1 references)
target prot opt source destination
RETURN all -- 192.168.0.0/24 anywhere
RETURN all -- 192.168.1.0/24 anywhere
RETURN all -- 192.168.2.0/24 anywhere
RETURN all -- 192.168.3.0/24 anywhere
DROP all -- anywhere anywhere