iptables - limit connections
Linode
Linode Staff
How do I limit connections to a specific set of IPs with iptables?
1 Reply
rgerke
Linode Staff
With iptables you can block or allow traffic from specific IP addresses by adding rules to your configuration. The link below shows you how to block all traffic and then add rules to allow it from the IPs you choose:
Whitelist/Blacklist by IP Address
You can also drop traffic from specific IPs:
For our full guide on iptables rules and configurations, click the link below: