I'm setting a text only Fedora 3 linux box up and want to enable ssh. I have loaded the sshd service and put in the added the following entries into iptables.
iptables -A INPUT -p TCP -i eth0 -s 0/0 --destination-port 22 -j ACCEPT
iptables -A INPUT -p UDP -i eth0 -s 0/0 --destination-port 22 -j ACCEPT
when doing a port scan remotely on the box port 22 isn't shown as open. Also when using PuTTY on a windows box i get Network error:No route to host. If i connect locally i can connect to ssh with no problem.
This is the first linux box i have attempted to setup so sorry if i am asking a stupid question.