-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