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

    L2tp on not default gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 851 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.
    • V
      VLK
      last edited by

      Hello! (sorry for my english)

      If i reciev l2tp from not default gateway (have 3 providers), l2tp not worked and in logs^

      l2tps: L2TP: connect: Address already in use
      l2tps: Incoming L2TP packet from ... 1701
      l2tps: L2TP: connect: Address already in use

      Help, please, how to receive l2tp on not defaul gateway?

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

        Try adding a port forward for L2TP (udp/1701) to localhost (127.0.0.1) on the other WAN rather than connecting directly.

        That will allow pf's reply-to function to send the response back out the second WAN as expected (assuming the second WAN has a proper gateway set or is a dynamic type WAN)

        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
        • T
          Taras_
          last edited by

          @jimp:

          Try adding a port forward for L2TP (udp/1701) to localhost (127.0.0.1) on the other WAN rather than connecting directly.

          That will allow pf's reply-to function to send the response back out the second WAN as expected (assuming the second WAN has a proper gateway set or is a dynamic type WAN)

          It's not working recipe (pfSense 2.2.2). Replies to incoming L2TP via WAN2 are going out via default gateway on WAN1 (https://forum.pfsense.org/index.php?topic=95908.0)

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