Hi all,
I would like to configure iptables to drop all SSH connections. I have
the following rules set up:
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP tcp -- anywhere anywhere tcp
spt:ssh
DROP udp -- anywhere anywhere udp
spt:ssh
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
However, launching an SSH program on another computer and attempting
to connect lets me through.
Can someone tell me what I'm doing wrong?
Thanks in advance,
Max