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

    Firewall Rules Structure Question

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 714 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.
    • L
      lysol
      last edited by

      Regarding firewall rules, I would like to set up types of VLANs:
      LAN acccess only with whitelist
      WAN access only with whitelist
      LAN and WAN

      I've figured out how to block specific IP's from WAN in the LAN firewall rules, but I haven't figured out how to add a "block all WAN" and have an "allow this alias" access to WAN.
      Also, I cannot figure out how to block LAN access at all. Any suggesstions?

      I'm thinking of how to do this the best way:
      The aliases will have the VLAN subnets in them.

      VLAN10 - LAN acccess only with whitelist:
      Allow "alias10" LAN access
      Block all WAN access
      Block all LAN access

      VLAN20 - WAN access only with whitelist:
      Allow "alias20" WAN access
      Block all WAN access
      Block all LAN access

      VLAN30 - LAN and WAN:
      This one will be trusted so Allow all is fine.

      1 Reply Last reply Reply Quote 0
      • L
        lysol
        last edited by

        Is there an implicit deny that's invisible on the interfaces already?

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          Yes all interface have a default deny.. That is not shown in the gui..  There has been discussion of allowing this to be shown in the gui..  But its a given that if no allow rule then traffic is deny..

          You might place a specific deny on the interface to deny stuff you don't want logged by the default deny, etc.  Or if you just like to see it when looking at you rules.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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