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

    opt1 to wan, block lan to wan

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 320 Views 2 Watching
    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.
    • E Offline
      elmo1943
      last edited by

      I have wifi router on opt1, works good. All internet needs to use wifi router (opt1). Can I block lan from wan for internet access? Ran modem to wifi router but lose pfBlocker.

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann @elmo1943
        last edited by

        @elmo1943
        Assuming we're talking about IPv4 and you need to access internal resources from LAN, create an alias and include all RFC 1918 networks to it. Call it RFC1918.

        Then edit the allow to any rule on LAN, at destination check "invert match" and enter the RFC1918 alias.
        So this rule only permits access to destination within private network ranges.

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          elmo1943 @viragomann
          last edited by

          @viragomann Thank you. Having internet not using vpn gives me Japan internet. Not good. I will use your guide. Elmo

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