cnetwork-programmingnatpppoe

How to through NAT with PPPoE?


I want to create a route server to proxy some clients(they may not in the same intranet) to access internet. I need to assign unique ip to the client and get the ip when packets response,so I can do some monitor task. i want to know if I use PPPoE server to deal with this case, how to through NAT ? thanks!


Solution

  • You can't. NAT routes packets in the Transport layer, but PPPoE operates in the Data Link layer; NAT can't even see PPPoE packets.