# $OpenBSD: npppd.conf,v 1.3 2020/01/23 03:01:22 dlg Exp $ # sample npppd configuration file. see npppd.conf(5) authentication LOCAL type local { users-file "/etc/npppd/npppd-users" } #authentication RADIUS type radius { # authentication-server { # address 192.168.0.1 secret "hogehoge" # } # accounting-server { # address 192.168.0.1 secret "hogehoge" # } #} tunnel L2TP protocol l2tp { listen on 0.0.0.0 listen on :: } ipcp IPCP { pool-address 10.0.0.2-10.0.0.254 dns-servers 8.8.8.8 } # use pppx(4) interface. use an interface per a ppp session. interface pppx0 address 10.0.0.1 ipcp IPCP bind tunnel from L2TP authenticated by LOCAL to pppx0 # use pppac(4) interface. multiple ppp sessions concentrated on one interface. #interface pppac0 address 10.0.0.1 ipcp IPCP #bind tunnel from L2TP authenticated by LOCAL to pppac0