I may not be asking in the correct location on the forum but I am stuck.
I have maybe 15 computers behind a clearos firewall.
I want to block outbound traffic for 192.168.1.74-78 on all ports except port 8443.
Do I need to create custom firewall table rules for this?
I have maybe 15 computers behind a clearos firewall.
I want to block outbound traffic for 192.168.1.74-78 on all ports except port 8443.
Do I need to create custom firewall table rules for this?
Share this post:
Responses (2)
-
Accepted Answer
One word answer, "yes". It would be much easier if you could group your IP's into a single subnet as you could so it with one rule e.g.:
This would block 192.168.1.76 - 79. Otherwise you'll need multiple rules. Please check any custom rule at the command line first in case of errors.iptables -I FORWARD -s 192.168.1.76/30 -p tcp ! --dport 8443 -j DROP
-
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »