[NTLUG:Discuss] port 22 "filtered"

MadHat madhat at unspecific.com
Fri Mar 12 12:40:50 CST 2004


On Mar 12, 2004, at 6:32 PM, terry wrote:
> cannot ssh to a (Fedora core1) PC, even though sshd IS running on that 
> machine, and 'ssh localhost' DOES work [on that target machine].
>
> nmap (from outside) reports port 22 is "filtered"
> (I have to run nmap with -P0 option)
> ie. nmap -P0 -p22  **.***.**.***
> Port       State       Service
> 22/tcp     filtered    ssh
>
> So, how do I un-filter port 22 ?

look to see if iptables is running.

as root, you can do

iptables -l

Or look at the file /etc/sysconfig/iptables

You can also just shut it down and test
/etc/rc.d/init.d/iptables stop




More information about the Discuss mailing list