Restrict SSH Using IpTables

Home › System Administration


Well, it's not as hard as it seems:

iptables -D INPUT -m tcp -p tcp --dport 22 -j DROP
iptables -A INPUT -m tcp -p tcp --dport 22 --source {ip-address-goes-here} -j ACCEPT
iptables -A INPUT -m tcp -p tcp --dport 22 -j DROP

Also Check Out:


The most beautiful Russian women

Strange Statues

Persian Models

Ugliest Dog in the World

More Collections

We have a lot more to share. Check out more collections.

[Query failed]


Leave a Comment

Name
Email (Optional)
Web Site (Optional)
Comment
Type 8822 here