/etc/config/pppoe
config pppoe_server
list service_name 'service-name1'
list service_name 'service-name2'
option maxsessions '64'
option optionsfile '/etc/ppp/pppoe-server-options'
option unit '0'
option offset '0'
option timeout '60'
option mss '1468'
option sync '0'
option maxsessionsperpeer '1'
option localip '10.2.0.1'
option firstremoteip '10.2.0.2'
option ac_name 'testcon'
option interface 'br-PPPoE'
/etc/ppp/pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
auth
debug
require-chap
login
lcp-echo-interval 10
lcp-echo-failure 2
mru 1492
mtu 1492
ms-dns 8.8.8.8
netmask 255.255.255.0
defaultroute
logfile /tmp/ppp.log
/etc/ppp/chap-secrets
#USERNAME PROVIDER PASSWORD IPADDRESS
user1 * password1 *