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 # PPP counter and timer values
14 #set ppp_restart_time 3
15 #set ppp_max_configure 10
16 #set ppp_max_failure 5
18 # Only 2 DNS server entries are allowed
19 set primary_dns 10.0.0.1
20 set secondary_dns 10.0.0.2
22 # Can have multiple radius server entries, but ony one radius secret
23 set primary_radius 10.0.0.3
24 #set primary_radius_port 1645
25 #set secondary_radius 0.0.0.0
26 #set secondary_radius_port 1645
27 set radius_secret "secret"
29 # Acceptable authentication types (pap, chap) in order of preference
30 #set radius_authtypes "pap"
32 # Turn on or off Radius Accounting
33 #set radius_accounting no
35 # Port for DAE RADIUS requests
36 #set radius_dae_port 3799
38 # Allow multiple logins for the same username
39 #set allow_duplicate_users no
41 # Write usage accounting files into specified directory
42 set accounting_dir "/var/run/l2tpns/acct"
44 # Listen address for L2TP
45 #set bind_address 1.1.1.1
47 # Send a gratiuitous ARP for bind address
50 # Gateway address given to clients
51 #set peer_address 0.0.0.0
53 # Default throttle rate in kb/s
56 # Number of buckets to allocate for throttling
57 #set throttle_buckets 3000
59 # If set to anything other than 0, setuid when initialised.
62 # If set to true, dump current speed to stderr every second
65 # Number of packets to read from tun/udp/cluster fd when select
67 #set multi_read_count 10
69 # Set scheduling priority of process to SCHED_FIFO
70 #set scheduler_fifo no
72 # Lock pages into memory
75 # Maximum number of host unreachable packets to send per second
78 # Maximum number of downstream packets per 0.1s to handle for each
79 # session (0 = ulimited)
82 # Cluster multicast address, interface
83 #set cluster_address 239.192.13.13
84 #set cluster_interface eth0
86 # Cluster timers (1/10th second)
87 #set cluster_hb_interval 5
88 #set cluster_hb_timeout 150
90 # Minimum number of slaves before master withdraws routes
91 #set cluster_master_min_adv 1
94 #load plugin "sessionctl"
96 # Throttle/snoop based on RADIUS
97 #load plugin "autothrottle"
98 #load plugin "autosnoop"
100 # Control throttle/snoop with nsctl
101 #load plugin "throttlectl"
102 #load plugin "snoopctl"
104 # Punt RX speed if not supplied
105 #load plugin "setrxspeed"
107 # Remove domain from username
108 #load plugin "stripdomain"
111 #load plugin "garden"