Aqui segue a receita de bolo para configurar um servidor pppoe em um FreeBSD. O uso aqui foi para testes de equipamentos VoIP. O usuários são aqueles configurados no /etc/passwd do sistema, com suas respectivas senhas.


[root@hloureiro ~]# cat /etc/ppp/ppp.conf
 default:
     set log All Phase tun command Chat Radius
     set ifaddr 10.0.0.1/24 10.0.0.100-10.0.0.199
     enable pap chap passwdauth

 pppoe:
  set device PPPoE:sis0:dlink
  enable lqr
  set cd 5
  set dial
  set login
  set redial 0 0

 dlink:
  allow mode direct
  enable lqr proxy
  enable chap pap passwdauth
  set ifaddr 10.0.0.1/24 10.0.0.100-10.0.0.199
  accept dns

 [root@hloureiro ~]# /usr/libexec/pppoed -p dlink -F -d sis0
 Sending NGM_LISTHOOKS to sis0:
 Got reply from id [1]: Type ether with 1 hooks
   Got [1]:orphans -> [3]:ethernet
 Sending PPPOE_LISTEN to .:pppoe-5538, provider dlink
 pppoed[5538]: Listening as provider dlink
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.