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

    USG - pfsense IPsec VPN

    Scheduled Pinned Locked Moved IPsec
    3 Posts 3 Posters 3.5k 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.
    • J
      jcconnell
      last edited by

      I use a UniFi Security Gateway at home and I have a VPS running pfsense as a VPN server. I am trying to configure an IPsec VPN tunnel between pfsense and the USG using the GUI in both devices. I would like all traffic from a specific subnet on my LAN to go over the VPN tunnel. Right now, I'm using 10.0.250.0/30 as the subnet but really I'm just trying to learn how to accomplish this.

      While I am able to get pfsense to say that the IPsec tunnel is connected, no data is transferred. I can only get pfsense to connect when the dynamic routing option is checked in the VPN settings on the USG. Further, when the connection is made, I can't access services running on the LAN from remote networks. In some cases with variations on the settings below, I can't access the internet at all while the connection is initiated.

      If anyone has any suggestions, I'd sincerely appreciate it.











      1 Reply Last reply Reply Quote 0
      • A
        albgen
        last edited by

        Hi,

        that network 0.0.0.0 on the setting "Local Network" is not correct. Select "LAN Subnet" and you should be ok..

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

          jcconnell did you ever get this resolved?

          I am having the the same issue as you are having and all my networks are setup properly.

          Let me know!

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