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

    Routing between VLans

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 1.9k 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.
    • C Offline
      cyberbot
      last edited by

      Dear All,
      On our Production we have VLAN20 attached to LAN1
      Basically we want VLAN20 10.10.20.0/24 to be a Guest Wifi and LAN 1 10.10.1.0/24 Productions.
      On the netgear Switches we have VLAN 1 untagged on all ports and VLAN20 Tagged to Ports.
      the mapping seems to work fine, VLAN 20 and 1 works fine over the Switches.
      We want to create a special rules for the guest interface, we dont want the Guest to access the Productions.

      means rules to block the access from the Guest VLAN 20 to access the devices on the Productions LAN 1.
      Can you please advies if this the correct way of doing it .

      Creating a Block Rules on the TOp of the VLAN20 interface to Block ( Source VLAN 20,  Destination LAN )
      Creating Allow Rules below the Top rules on the VLAN 20 Interface to allow internet ?

      Thank you

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

        And what rules do you have on this guest vlan 20 now?

        Rules are evaluated top down as the traffic enters an interface, first rule to trigger wins, no other rules are evaluated.

        If you have a default any any rule on your vlan 20 interface, then sure put a rule above that to block access to whatever it is you want to block..  As long as your not going to where the blocks dest is then that rule would be skipped and you would hit the any any rule and allow out to the internet..

        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
        • J Offline
          Jamerson
          last edited by

          Hi John,
          I have the same request .

          attached are the rules I've created.
          is it correct ?

          Enabling the ( Block private networks and loopback addresses and Block bogon networks ) on the WAN side, would have some impact on those routing ?
          my Pfsense Box has a Public IP on the WAN side, the ISP Modern is on bridge mode.
          thank you

          ![Screen Shot 2017-04-02 at 22.38.51.png](/public/imported_attachments/1/Screen Shot 2017-04-02 at 22.38.51.png)
          ![Screen Shot 2017-04-02 at 22.38.51.png_thumb](/public/imported_attachments/1/Screen Shot 2017-04-02 at 22.38.51.png_thumb)

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

            sure but none of those rules have any hits or traffic.. the 0/0's

            But yes that would be one way to block access to lan but allow access to internet

            What would blocking rfc1918 and bogon unsolicited inbound into your wan have to do with it?

            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
            • J Offline
              Jamerson
              last edited by

              @johnpoz:

              sure but none of those rules have any hits or traffic.. the 0/0's

              But yes that would be one way to block access to lan but allow access to internet

              What would blocking rfc1918 and bogon unsolicited inbound into your wan have to do with it?

              Thank you John,
              if the private and begon networks blocked on the WAN, would have some impact to access while using site to site VPN ?

              1 Reply Last reply Reply Quote 0
              • DerelictD Offline
                Derelict LAYER 8 Netgate
                last edited by

                https://forum.pfsense.org/index.php?topic=113842.msg632969#msg632969

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

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