IPTables: allow SSH access only, nothing else in or out

Posted by Disco on Server Fault See other posts from Server Fault or by Disco
Published on 2010-12-21T20:12:42Z Indexed on 2010/12/21 20:55 UTC
Read the original article Hit count: 220

Filed under:
|
|

How do you configure IPTables so that it will only allow SSH in, and allow no other traffic in or out?

Any safety precautions anyone can recommend?

I have a server that I believe has been migrated away from GoDaddy successfully and I believe is no longer in use.

But I want to make sure just because ... you never know. :)

Note that this is a virtual dedicated server from GoDaddy... That means no backup and virtually no support.

© Server Fault or respective owner

Related posts about firewall

Related posts about iptables