4 # Log file: comment out to use stderr, use "syslog:facility" for syslog
5 set log_file "/var/log/l2tpns"
7 # Write pid to this file
8 set pid_file "/var/run/l2tpns.pid"
10 # Shared secret with LAC
11 set l2tp_secret "secret"
13 # MTU of interface for L2TP traffic
16 # PPP counter and timer values
17 #set ppp_restart_time 3
18 #set ppp_max_configure 10
19 #set ppp_max_failure 5
21 # Only 2 DNS server entries are allowed
22 set primary_dns 10.0.0.1
23 set secondary_dns 10.0.0.2
25 # Can have multiple radius server entries, but ony one radius secret
26 set primary_radius 10.0.0.3
27 #set primary_radius_port 1645
28 #set secondary_radius 0.0.0.0
29 #set secondary_radius_port 1645
30 set radius_secret "secret"
32 # Acceptable authentication types (pap, chap) in order of preference
33 #set radius_authtypes "pap"
35 # Turn on or off Radius Accounting
36 #set radius_accounting no
38 # Port for DAE RADIUS requests
39 #set radius_dae_port 3799
41 # Allow multiple logins for the same username
42 #set allow_duplicate_users no
44 # Allow multiple logins for specific username
47 # Write usage accounting files into specified directory
48 set accounting_dir "/var/run/l2tpns/acct"
50 # Listen address for L2TP
51 #set bind_address 1.1.1.1
53 # Send a gratiuitous ARP for bind address
56 # Gateway address given to clients
57 #set peer_address 0.0.0.0
59 # Default throttle rate in kb/s
62 # Number of buckets to allocate for throttling
63 #set throttle_buckets 3000
65 # If set to true, dump current speed to stderr every second
68 # Number of packets to read from tun/udp/cluster fd when select
70 #set multi_read_count 10
72 # Set scheduling priority of process to SCHED_FIFO
73 #set scheduler_fifo no
75 # Lock pages into memory
78 # Maximum number of host unreachable packets to send per second
81 # Maximum number of downstream packets per 0.1s to handle for each
82 # session (0 = ulimited)
85 # Cluster multicast address, interface
86 #set cluster_address 239.192.13.13
87 #set cluster_interface eth0
89 # Cluster multicast TTL
90 #set cluster_mcast_ttl 1
92 # Cluster timers (1/10th second)
93 #set cluster_hb_interval 5
94 #set cluster_hb_timeout 150
96 # Minimum number of slaves before master withdraws routes
97 #set cluster_master_min_adv 1
103 #load plugin "sessionctl"
105 # Throttle/snoop based on RADIUS
106 #load plugin "autothrottle"
107 #load plugin "autosnoop"
109 # Control throttle/snoop with nsctl
110 #load plugin "throttlectl"
111 #load plugin "snoopctl"
113 # Punt RX speed if not supplied
114 #load plugin "setrxspeed"
116 # Remove domain from username
117 #load plugin "stripdomain"
120 #load plugin "garden"