Forums

Resolved
0 votes
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?
Wednesday, March 02 2016, 05:00 PM
Share this post:
Responses (2)
  • Accepted Answer

    Sunday, March 06 2016, 02:26 PM - #Permalink
    Resolved
    0 votes
    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.:
    iptables -I FORWARD -s 192.168.1.76/30 -p tcp ! --dport 8443 -j DROP
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 03 2016, 04:01 PM - #Permalink
    Resolved
    0 votes
    I see this had some views but nobody replied.
    Is this is the wrong section?
    The reply is currently minimized Show
Your Reply