Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2010
IPTABLES: two unrelated source IPs in a single rule?
Or alternatively, if I wanted to block two subnets, say 184.108.40.206/24 and 220.127.116.11/24? Can this be done in one rule?
Thanks to anyone who can offer advice.
You may want to get familiar with chains of rules.
Usually in the PREROUTING chain you would add a reference to your IPSTOBEBLOCKED chain, which examines the IP and decides to forward it to a general BLOCK chain that does all blocking.