Firewall Rules – Blocking all except defined rules

Home Page Forums Network Management Firewall, Traffic Shaping and Net Balancer Firewall Rules – Blocking all except defined rules

This topic contains 0 replies, has 0 voices, and was last updated by  ian-iq 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43568

    ian-iq
    Member

    Hi,

    It’s either a bug or I’m doing something really silly! I’ve set up some basic firewall rules to allow traffic in for example port 25 on chain Forward.

    1 ETH01 * ACCEPT tcp opt — in ETH01 out * 0.0.0.0/0 -> 0.0.0.0/0 tcp spt:25 dpt:25 no

    This works fine when I have the chain’s policy on ACCEPT – but as soon as I switch it to DENY, this port appears to be blocked – even though I’ve explicitly allowed it through.

    I’ve also tried keeping the policy setting on ACCEPT then adding a rule lower in the sequence to DROP all, thinking this rule will be processed last but to no avail!

    18 ETH01 * DROP all opt — in ETH01 out * 0.0.0.0/0 -> 0.0.0.0/0

    I’m running Release 2.0.RC2.
    Please help!

    Thanks,
    Ian

    #52655

    JamesR
    Member

    How about posting a dump of the firewall table?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.