Obrigando usuários em uma LAN a autenticar antes de se conectar

Quando você entra em uma rede LAN via cabo ou wi-fi aberto, a rede simplesmente funciona, não é mesmo? Isso acontece porque não é preciso nenhum tipo de autenticação para dizer quem é você dentro daquela rede. Quando você usa uma rede

Imagine uma rede LAN por cabo "insegura", em que ao se conectar, você precisa informar um login e uma senha.

Há algumas formas de fazer isso:

Captive Portal

Protocolo 802.1X

É provavelmente a melhor e mais segura forma de fazer autenticação de LAN e Wireless LANs.

PPPoE

Referências em PPPoE

Comnfigurando um servidor PPPoE no PfSense
https://docs.netgate.com/pfsense/en/latest/book/services/pppoe-server.html?highlight=pppoe%20server
Tutorial pffSense
https://docs.netgate.com/pfsense/en/latest/book/services/pppoe-server.html?highlight=pppoe%20server
Segurança do PPPoE
https://networkengineering.stackexchange.com/questions/34050/why-use-pppoe-and-not-use-ip-directly
O que é o PPPoE?
https://www.digitalcitizen.life/simple-questions-what-pppoe-and-what-does-it-do
O que é o PPPoE?
https://websafetyadvice.com/terms/what-are-ppp-and-pppoe/
Problemas de segurança no PPPoE
https://www.researchgate.net/publication/263145845_On_the_security_of_PPPoE_network
Configurando um PPPoE Server no Linux
https://www.vivaolinux.com.br/dica/Configurando-um-PPPOE-Server
Configurando PPPoE Server no PfSense
https://books.google.com.br/books?id=QnCADwAAQBAJ&pg=PA232&lpg=PA232&dq=pppoe+server+pfsense&source=bl&ots=whdR-XsYrf&sig=ACfU3U2AEWHybpCpKwdw5lhBFrxDbZfGug&hl=pt-BR&sa=X&ved=2ahUKEwjov-WDz9_nAhWUIrkGHVOdByg4FBDoATADegQICRAB#v=onepage&q=pppoe%20server%20pfsense&f=false

Authenticated DHCP

É um padrão que está sendo regulamentando pela RFC 3118, mas não teve ampla adoção por dificuldades em garantir segurança.
https://tools.ietf.org/html/rfc3118
https://serverfault.com/questions/796717/configuring-a-dhcp-server-with-authentication
https://www.infoblox.com/glossary/authenticated-dhcp/

You should also read: