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

    Firewall Rules to Allow VLAN and LAN to Communicate

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 400 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.
    • S Offline
      spaceboy
      last edited by

      Hi,

      Hopefully this is relatively simple but i'm a newcomer to pfsense and networking in general. The last couple of months have been an excellent crash course and my knowledge is building up yet there is one problem i cannot solve logically.

      I have added a VLAN to my pfsense setup and this all seems to be working ok, the switch is configured correctly and devices on the VLAN (my wireless AP's) receive an IP address from the VLAN. They can also reach the internet.

      What i can't seem to do is allow the LAN and the VLAN to talk to one another. Most guides are about segregating the VLAN from the LAN, which i want to do with my next effort for an IOT VLAN, but first i want a VLAN for my wireless AP's so i can track data usage for the interface as a proxy for wifi data use which i am unable to get due to my AP's not supporting SNMP.

      I have a rule on the VLAN interface allowing access to all. This seems to work in allowing access to the internet but not to the LAN. I'm not certain if i am supposed to be adding a firewall rule to the LAN interface? Logically this seems possible as i need the ping to be returned from LAN to VLAN. But there is already a rule on LAN which allows communication to all, this was added by pfsense during the initial config. I can see it is slightly different to the rule on the VLAN interface in that it has a gateway associated with it, but even with a manually inserted rule above this to mirror the rule on VLAN and simply allow to all, I cannot get a response from LAN while on VLAN.

      Hopefully this is blindingly obvious to someone with more experience so please be gentle with your replies :)

      Thanks!

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

        If you have a rule on vlan that is any any, then you not talking to something on lan is most likely a local firewall on that devices not allowing the 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 25.07.1 | Lab VMs 2.8.1, 25.07.1

        1 Reply Last reply Reply Quote 0
        • S Offline
          spaceboy
          last edited by

          thanks you helped me solve it.

          my error, for anyone else that has the same issue is thinking that ping would respond even if a firewall was present. Actually everything was working, i just hadnt believed it and tried anything further as ping was not responding. a schoolboy error i am sure

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