# prol2tpd configuration PPPoE AC LNS system { # The LNS will listen on the specified IP address listen 10.42.42.10 } # Incoming tunnel setup requests from peers with the host name # AVP "lac1" or IP address 1.2.3.4 will be accepted using the # referenced tunnel profile peer profile "lac1" { peer_ipaddr 1.2.3.4 tunnel_profile_name "lac1" } tunnel profile "lac1" { # Only accept L2TPv3 tunnel requests proto_version 3 # Use the named session profile when handling session setup requests session_profile_name "lac" } session profile "lac" { # Use the named pseudowire profile pseudowire_profile_name "ppp" } pseudowire profile "ppp" { # The session pseudowire is PPP pseudowire_type ppp # When bringing up the PPP session we pass these extra arguments # to propppd to mandate that the peer must use CHAP authentication extra_options "require_chap yes" # Set local and peer IP addresses local_ipaddr 10.90.0.5 peer_ipaddr 10.90.0.6 }