> HI.... still have problem to connect to my computer remotly with ssh...
> SSH connection to my computer is not possible when the firewall is up.
> The rules are simple as it can be: ouput and forward chain are set to
> accept all. And here is the input one:
> iptables -A INPUT -i $IFACE -p tcp --dport 22 -m state --state
> NEW,ESTABLISHED -j ACCEPT
> iptables -A INPUT -i $IFACE -p tcp --sport 22 -j ACCEPT
> Does anyone have an idea about the reason the connection is blocked by
> the firewall...?
> Thanks...
You also need a -o on the interface for the OUTPUT rule.
Your welcome,
Norm.
--
I have watched kids testifying before Congress. It is clear that they
are completely unaware of the seriousness of their acts. There is
obviously a cultural gap. The act of breaking into a computer system
has to have the same social stigma as breaking into a neighbor's house.
It should not matter that the neighbor's door is unlocked. The press
must learn that misguided use of a computer is no more amazing than
drunk driving of an automobile.
Ken Thompson Sept. 1995 ACM