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

    IPSec pfSense to Unifi USG

    Scheduled Pinned Locked Moved IPsec
    5 Posts 4 Posters 872 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.
    • O
      orangehand
      last edited by

      According to the status the connection is up, however I cannot make traffic pass between the 2 LANs. The route distance is set to 30 - no idea what this means! It is an IKEv1/AES-128/SHA1/DH14 tunnel. At the USG end PFS is ON, as is Enable Dynamic routing. Anyone know how to make this actually pass the traffic? Many thanks

      1 Reply Last reply Reply Quote 0
      • O
        orangehand
        last edited by

        As I posted elsewhere, you CANNOT test the VPN via the UI Ping utility. It always fails. You need to test the tunnel using endpoints. I am assuming this is a small bug?

        jimpJ 1 Reply Last reply Reply Quote 0
        • M
          MeCJay12
          last edited by

          You didn't post a lot of information. Please gather your IPsec configs, firewall rules and come back, and more details on the issue (what kind of traffic? errors?).

          1 Reply Last reply Reply Quote 0
          • N
            netcie
            last edited by

            I know I'm a little late, but it is important to DISABLE 'Dynamic Routing' in Unifi. After that, most of the traffic will flow.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate @orangehand
              last edited by

              @orangehand said in IPSec pfSense to Unifi USG:

              As I posted elsewhere, you CANNOT test the VPN via the UI Ping utility. It always fails. You need to test the tunnel using endpoints. I am assuming this is a small bug?

              Not a bug. If you are testing an IPsec tunnel and want to test from LAN to LAN you have to tell ping to source using an address in the LAN. If you leave it at the default it will follow the routing table and attempt to leave WAN (in most cases). So pick the LAN or whatever local interface has an address which will pass through the IPsec tunnel.

              So it's doing exactly what it was told to do. That may not be what you wanted it to do, but it has no way to know that.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

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