L2tp on not default gateway



  • 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?


  • Rebel Alliance Developer Netgate

    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)



  • @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)