Linux Server
Block IP from accessing your Linux Server using IP tables
Syntax to block an IP address under Linux using IP tables:
1 |
iptables -A INPUT -s 123.45.67.89 -j DROP |
Replace 123.45.67.89 with the IP in which you would like blocked. For example, if you wish to block IP address 123.45.67.89 iptables -A INPUT -s 123.45.67.89 -j DROP If you just want to block access to one port Read more…
You must be logged in to post a comment.