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

    How can i set client vlan to not communicate with management but management vlan can operate on client vlan?

    L2/Switching/VLANs
    management vlan vlan pfsense
    2
    6
    365
    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.
    • S
      Stp
      last edited by Stp

      My network is composed by:

      • VLAN 99 (client) 172.17.99.0/24
      • VLAN 30 (mgmt) 172.17.30.0/24

      DHCP is enabled on the 2 vlans in the range from .100 to .150

      i need to block access from client vlan to management vlan but let the management vlan operate on client vlan

      I made the rule that block the access from the client vlan to the management vlan and i want to create a rule that allows access from management vlan to client vlan but i don't know how to do it. does anyone have any ideas?

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

        @Stp well on your client vlan create a rule to block access to your mgmt vlan. You prob want to block access to pfsense IPs as well - to prevent access to the pfsense gui, etc..

        here is an example of a locked down vlan

        example.jpg

        Rules are evaluated top down, first rule to trigger wins, no other rules are evaluated.

        If you mgmt vlan rules allow access to the client vlan, the state would allow return traffic.

        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.7.2, 24.11

        S 1 Reply Last reply Reply Quote 0
        • S
          Stp @johnpoz
          last edited by

          @johnpoz Thank you, i will try it, but first i have another problem because i changed WAN ip address from DHCP to static IP and i don't know how the vlans are not connecting to the web.

          the WAN ip address is a private ip address because i have a test network in my company network, so i find out that i have to enter the gateway of my network to connect wan to the internet, but it doesn't work anyway.

          tell me if i need to create another question apart of this argument or not. thanks a lot.

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

            @Stp set it back to dhcp then.. Clearly if the static you put in isn't working you put it in wrong, wrong mask, wrong gateway.. Your dns isn't working? can you ping 8.8.8.8?

            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.7.2, 24.11

            S 1 Reply Last reply Reply Quote 0
            • S
              Stp @johnpoz
              last edited by

              @johnpoz i can ping 8.8.8.8 from all the interfaces (vlan client, vlan mgmt and wan). i also checked the dhcp and it's working correctly

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

                @Stp well if you can ping 8.8.8.8 then internet is working.. Your problem is prob dns related.

                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.7.2, 24.11

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