[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables rule for sshd



Le dimanche 1 Août 2004 19:29, NabilM@kuveytturk.com.tr a écrit :
> I am running sshd on my Debian machine with iptables. I want it to
> accept ssh connections from outside. I added this rule and it doesn't
> work.
>
>
>
> Iptables -A INPUT -p tcp -sport ssh -j ACCEPT
>
>

try -dport instead of -sport.

Regards.



Reply to: