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

    L2TP/Ipsec VPN with CARP IP

    Scheduled Pinned Locked Moved IPsec
    3 Posts 2 Posters 388 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.
    • A
      acp
      last edited by

      Hello

      I am trying to setup a L2TP/IPSEC VPN using the CARP IP.
      Unfortunately you can only use L2TP with the WAN interface so I followed some advice I found on here to add a port foward like below:
      NAT.PNG

      With the blue area being the CARP IP. I have tried this with ports 1721 and ports 1701 neither work.

      I also set the ipsec vpn to use the WAN CARP IP when doing this.

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

        Traffic gets ... weird ... when using IPsec transport mode. It's possible it's not matching that because IPsec is getting in the way. I have never seen L2TP/IPsec work with CARP that way, but that doesn't mean it is impossible.

        L2TP is UDP port 1701 so the rule in the screenshot is definitely wrong in that regard.

        You'll need to go through the usual Port Forward Troubleshooting steps but check both the WAN and IPsec interfaces for traffic and see what happens. And see what is happening in the state table.

        You'd probably be much better off not using L2TP/IPsec if you can avoid it. IKEv2 is much, much better.

        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
        • A
          acp
          last edited by

          Unfortunately we were trying to connect a Draytek Vigor 2830 which doesn't seem to support IKEv2. But we couldn't get it working with the non CARP IP anyway.

          Thanks for your help

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