L2TP client on top of PPPoE
-
I have a fibre internet connection that is established using PPPoE however the ISP network uses CGNAT and so it isn't possible to accept incoming external connections. It also doesn't support IPv6.
To solve this I have access to an L2TP service that provides a static IPv4 address and will also route IPv6 to me.
Is it possible to configure pfSense with an L2TP client connection as the WAN interface, running on top of the established PPPoE connection? Any LAN connections should then route down the L2TP connection, nothing should use the underlying PPPoE connection apart from the actual L2TP traffic.
I realise this is all kinds of nested horribleness, however I should be able to use RFC 4638 on the PPPoE connection to remove the encapsulation overhead of the PPPoE frames at least.
I can get the PPPoE connection working easily enough but when I tried to create the L2TP client connection, the web UI only gives me the option of associating it with the physical ethernet interface, rather than the pppoe0 interface which is what I would expect to use.
-
Hmm, probably not directly like that. Is the service L2TP only? Using a GIF tunnel for that would work.
Steve
-
@stephenw10 Thanks for the reply, the service is L2TP only.
I'm trying to avoid having to use two routers, one providing the PPPoE connection with another behind it providing the L2TP connection.
-
It may be possible at the OS level. It could be simply the GUI input validation preventing it as unexpected. You could try creating a custom conf file for it.