Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Block LAN out: SECOND rule fires, instead of first?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 594 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mr. Jingles
      last edited by

      "Things that make you go 'hmmm'"  ;D

      G'day fine peoples  :P

      I have a Synology phoning home for updates etc, which I blocked in LAN as rule 1 via an alias, which contains 4 IP's and 1 FQDN (dec.quickconnect.to).

      To my surprise, however, dec.quickconnect.to is blocked by a SECOND LAN rule, that blocks ALL Synology out (as a test).

      This is not correct; the first rule should block it.

      ???

      EDIT: more weirdness.

      In a bright moment I thought 'perhaps the IP for dec.quickconnect to has changed in the last 60 seconds or so (alias table update is set to 60 secs).

      The firewall log shows indeed there are TWO Ip's for dec.quickconnect.to, however they are not sequential in time (pic 3).

      I'm lost, would anybody be willing to shed a light?

      EDIT2: can't attach pics; get a 500 internal error (pics are 3 o,7MB together).

      6 and a half billion people know that they are stupid, agressive, lower life forms.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Mixing FQDNs and IPs in an alias has been broken for quite a while. Do not do this.

        https://redmine.pfsense.org/issues/4296

        1 Reply Last reply Reply Quote 0
        • M
          Mr. Jingles
          last edited by

          @doktornotor:

          Mixing FQDNs and IPs in an alias has been broken for quite a while. Do not do this.

          https://redmine.pfsense.org/issues/4296

          Thanks Doc  :-*

          The description next to the alias says it is allowed, but I assume that is the wrong description then?

          So, what should I do: a nested aliasTOTAL containing Alias1 that has only IP's, and Alias2 that has only FQDN's?

          Or a firewall rule per Alias-type? (That would make it messy  :-[ ).

          6 and a half billion people know that they are stupid, agressive, lower life forms.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.