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

    [Solved] One-way traffic?

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    7 Posts 4 Posters 1.3k 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.
    • M
      motific
      last edited by motific

      I currently have a situation which I don't fully understand - it's my first VLAN setup so I may well have done something wrong...

      My setup is what I assume to be a pretty simple VLAN trunk - I have LAN (10.1.1.0/24) and VLAN (10.2.1.0/24) interfaces set up in pfSense and with LAN (carrying the VLAN) going to a Zyxel gs1200 web managed switch - that detags the VLAN and pushes that to an unmanaged switch for the clients.

      VLAN Clients get their DHCP assignments correctly but can only ping other clients on the VLAN. Not pfSense, or anything outside the VLAN.

      LAN clients can ping the VLAN, and access HTTP and SSH servers on that side.
      pfSense can also ping the VLAN quite happily.

      I'm just about to go grab some network traces to see if they will shed any more light on it.

      Is trying to mix the tagged & untagged traffic going to be what's causing me strife?

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

        Well what rules did you put on the vlan you created... New interfaces created in pfsense will have zero rules on them, so no you wouldn't even be able to ping pfsense IP in that vlan..

        But sure clients would get dhcp just fine, when you enable a dhcp server on an interface - hidden rules get created to allow for dhcp to work on that network.

        Lan would be able to start conversations into that vlan because lan rules allow it, and the answer is allowed back via the state that is created even when your vlan has zero rules.

        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
        • V
          viragomann
          last edited by

          Have you add a firewall rule the the VLAN interface to allow traffic to or accross pfSense?

          1 Reply Last reply Reply Quote 0
          • M
            motific
            last edited by

            I did create rules allowing VLAN-LAN access - but I did notice something when I went to screenshot them to share them...

            What protocols have I been testing? ICMP/UDP
            What is the default protocol for new rules? TCP

            I've set the protocol to Any and I'm just about to test it now - I have a feeling it is going to work. If it does I'm off to redmine to see if there's a request to change to the defaults there to NONE with an error on save, or All. It's bound to trip someone else up at some point!

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

              There is little use to putting in a redmine for default protocol on rule.. Its always going to be the admins responsibility to set the correct protocol for their rules... What it defaults to means nothing, the the VAST majority of time the rule would be for tcp, so it makes most sense to have it default to the protocol that is going to be most of the rules created.

              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 1
              • JKnottJ
                JKnott @motific
                last edited by

                @motific said in One-way traffic?:

                Is trying to mix the tagged & untagged traffic going to be what's causing me strife?

                No. That is quite common. Your problem is either routing or filters. Do the packet captures and see what they say.

                One thing to remember about VLANs, the only significant difference between tagged and untagged frames is the contents of the Ethertype/Length field. There is nothing magic about VLANs that causes problems.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                1 Reply Last reply Reply Quote 0
                • M
                  motific
                  last edited by

                  It was just the rules that were wrong - all sorted now.

                  Thanks everyone for the quick responses!

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