libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / rp-l2tp / l2tp.conf
blobd32263da3cb16d657bfc3a6750ad0d90248d7089
1 # comment
3 # Global section (by default, we start in global mode)
4 global
6 # Load handlers
7 load-handler "sync-pppd.so"
8 load-handler "cmd.so"
10 # Bind address
11 listen-port 1701
13 # Configure the sync-pppd handler.  You MUST have a "section sync-pppd" line
14 # even if you don't set any options.
15 section sync-pppd
16 lns-pppd-opts "require-pap 10.0.0.1:10.0.0.2 lcp-echo-interval 30 lcp-echo-failure 6"
17 lac-pppd-opts "user example name example noipdefault ipcp-accept-local ipcp-accept-remote lcp-echo-interval 30 lcp-echo-failure 6"
19 # Peer section
20 section peer
21 peer 192.168.2.3
22 secret s3cr3t
23 port 1701
24 lac-handler sync-pppd
25 lns-handler sync-pppd
26 hide-avps yes
28 section peer
29 peer 192.168.2.9
30 # No secret - no authentication
31 port 1701
32 lac-handler sync-pppd
33 lns-handler sync-pppd
34 hide-avps no
36 # Configure the cmd handler.  You MUST have a "section cmd" line
37 # even if you don't set any options.
38 section cmd