Routing between VLans



  • 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


  • LAYER 8 Global Moderator

    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..



  • 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)


  • LAYER 8 Global Moderator

    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?



  • @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 ?


  • LAYER 8 Netgate


Log in to reply