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

    Help Pfsense question

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 680 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.
    • L
      Lexgo
      last edited by

      Pfsense ipsec, only one vlan from local network can access the vlans on remote network same on the other IPsec side, only VLAN 2 (PFSense VLAN) can access.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @Lexgo
        last edited by

        @Lexgo Show your firewall rules for a non-working VLAN.

        Does any software firewall on devices on the remote network allow connections from the source VLAN?

        All networks have unique subnets?

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          What's the actual question here? You expect all VLANs on both sides of the IPSec tunnel to be able to connect?

          What sort of IPSec is it? In Tunnel/policy mode you would need a Phase2 entry to cover each connection.

          L 1 Reply Last reply Reply Quote 0
          • L
            Lexgo @stephenw10
            last edited by

            @stephenw10 yup a tunnel. Correct all VLANs on both sides that is declared on phase 2 be able to connect. Also firewall rules set to any any. As of now only one vlan (PFsense vlan) can access all the subnet on the other side.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              OK so how are you testing?

              Do you see states being created?

              Do you packets on the counters for the IPSec status?

              Are all the P2s up? Or maybe you have a single P2 covering all the subnets?

              Is this pfSense at both ends?

              We are going to need a lot more details here to diagnose this.

              L 1 Reply Last reply Reply Quote 0
              • L
                Lexgo @stephenw10
                last edited by

                @stephenw10 Yes P2s are up and both sides running pfsense, P2 config local subnet 10.7.0.0/16 remote 10.6.2.0 to 10.6.4.0/24. Firewalls rules for lan and ipsec are set to any any.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  So like 3 P2s? All up? What traffic does work?

                  When I'm trouble shooting this I first check the packet counters on the P2s at each end that should be carrying the traffic. If neither is incrementing then traffic probably isn't matching or is blocked or misrouted at the sending end.

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lexgo @stephenw10
                    last edited by

                    @stephenw10 P2.PNG here's the P2 config vlan 2-5 can access both ends but vlan6-9 can't access any vlan.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm, well those P2s don't match so if one side tries to open a P2 with a /16 defined the other side will reject it.

                      You should see a bunch of errors in the logs for that though. And I wouldn't expect to see the P2s come up in the status.

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