Answer the question
In order to leave comments, you need to log in
How to configure iptables to whitelist?
Hello, need help!
I'm trying to set up IpTables for a certain range of working machines and with a whitelisted site, maybe someone will tell me what I'm doing wrong, it's right, but all sites open exactly
iptables -I INPUT -m iprange --src-range 192.168.2.8-192.168. 2.25 -j ACCEPT
Answer the question
In order to leave comments, you need to log in
why input? maybe it should be forward? and in order to block everything else, you need to either make the default policy FORWARD DROP or add a rule to forward drop at the end.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question