Hey,
I’m trying to figure out if I can setup a mAP2 device to act as a L2TP client and send all connected traffic on one port via the L2TP connection, with the caveat that I want to present the L2TP tunnel WAN IP as the IP for that device on the port.
To try and explain better:
Port 1 is connected to an existing network/router and receives a local IP for that to allow connection to the L2TP tunnel.
Port 2 will connect a device and that should only run over the L2TP tunnel, but also be assigned the tunnels external IPs directly (the tunnel uses PPP and DHCPv6 for the IPs).
That device connected on port 2 should receive the L2TP IP assignments directly, so if I had a look at the DHCP lease it would have the external IPs assigned and not local.
I have managed to setup the PPP L2TP ok and tried bridging it with the port 2 of the device, but that didn’t lead to the port getting the L2TP IPs.
I also tried creating a DHCP pool with the L2TP IPv4 in it, assigned to the PPP and that does seem to have connected with the right IP and gateway, but now I’m unsure how I would pass that through to the port 2.
Is what I’m trying to do achievable and am I missing some more steps?
Thanks for your help!