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

Re: SSH & iptables



> iptables -A INPUT -p tcp --dport 22 -j ACCEPT
> iptables -A INPUT -j DROP
>
> but that will not work how you expect (don't implement it remotely )

How would one implement it remotely? I (may have) read somewhere that
blocking everything but ssh wouldn't mess with your ssh session, but
i'm not sure.

Would a cron job or a sleep do?

-- 
()  ascii ribbon campaign - against html e-mail
/\  ascii-rubanda kampajno - kontraŭ html-a retpoŝto


Reply to: