For a long time now I’m wondering about a tiny PPPoE Server question but I can’t find an answer…
What exactly is the PPP → Interface → PPPoE Server action for compared to PPP → PPPoE Servers???
The first action creates an “Interface” called pppoe-in1 and the section action creates a service1 PPPoE instance.
So what do I need the pppoe-in1 for? Some guides and howtos create both, some just the service1. Is the static pppoe-in1 interface to be able to use some firewall/mangle/… rules for the PPPoE service or what are the reasons for this interface?
PPP → PPPoE Servers section is for setting up PPPoE servers, as it implies. that’s usually enough. but there are time that you want to create some rules (firewall rules for example), and make them apply to a user connecting through PPPoE. that’s when you can create a PPPoE server interface, add the Username and Service and it will be static. unlike normal PPPoE connections, once the defined user connected, that interface will go active and once disconnected, it will go down(without being deleted). so its not dynamic anymore making it perfect to be used in firewall rules, or any where else that requires specifying interface. if you try to create a rule based on a dynamic interface, once the interface disappeared, even if the user connects again, it’ll have a different id and therefore, its a different interface.
There might be some other use for adding PPPoE server interface too. but i only know this one.