Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Making a Rule for WAN access ONLY

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 2.1k 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.
    • F
      Frewald
      last edited by

      Hi

      I would like to have a rule that allows OPT1->WAN traffic, but doesn't allow OPT1->LAN or OPT1->OPT2.

      So a rule that would be something like
      Proto: Any
      Source: OPT1 subnet
      port: Any
      Destination: WAN only
      Port: Any
      –-
      Problem being that in 'destination' I can't select anything that would give me WAN "subnet"

      Right know i solve it by having rules to block traffic from OPT1 to my other internal nets, and then a ALLOW from OPT1 to anything.
      But this is not very elegant IMO

      Is this the only way to do it, or am i missing something?  :)

      Best regards,
      Frewald

      1 Reply Last reply
      Reply Quote 0
      • jahonixJ
        jahonix
        last edited by

        You're missing the aliases.

        Create one that contains all your undesirted subnets and make an "allow all BUT alias" rule for your OPT1 IF.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy