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 # Only 2 DNS server entries are allowed
14 set primary_dns 10.0.0.1
15 set secondary_dns 10.0.0.2
17 # Can have multiple radius server entries, but ony one radius secret
18 set primary_radius 10.0.0.3
19 #set primary_radius_port 1645
20 #set secondary_radius 0.0.0.0
21 #set secondary_radius_port 1645
22 set radius_secret "secret"
24 # Acceptable authentication types (pap, chap) in order of preference
25 #set radius_authtypes "pap"
27 # Turn on or off Radius Accounting
28 #set radius_accounting no
30 # Port for DAE RADIUS requests
31 #set radius_dae_port 3799
33 # Allow multiple logins for the same username
34 #set allow_duplicate_users no
36 # Write usage accounting files into specified directory
37 set accounting_dir "/var/run/l2tpns/acct"
39 # Listen address for L2TP
40 #set bind_address 1.1.1.1
42 # Send a gratiuitous ARP for bind address
45 # Gateway address given to clients
46 #set peer_address 0.0.0.0
48 # Default throttle rate in kb/s
51 # Number of buckets to allocate for throttling
52 #set throttle_buckets 3000
54 # If set to anything other than 0, setuid when initialised.
57 # If set to true, dump current speed to stderr every second
60 # Number of packets to read from tun/udp/cluster fd when select
62 #set multi_read_count 10
64 # Set scheduling priority of process to SCHED_FIFO
65 #set scheduler_fifo no
67 # Lock pages into memory
70 # Maximum number of host unreachable packets to send per second
73 # Maximum number of downstream packets per 0.1s to handle for each
74 # session (0 = ulimited)
77 # Cluster multicast address, interface
78 #set cluster_address 239.192.13.13
79 #set cluster_interface eth0
81 # Cluster timers (1/10th second)
82 #set cluster_hb_interval 5
83 #set cluster_hb_timeout 150
85 # Minimum number of slaves before master withdraws routes
86 #set cluster_master_min_adv 1
89 #load plugin "sessionctl"
91 # Throttle/snoop based on RADIUS
92 #load plugin "autothrottle"
93 #load plugin "autosnoop"
95 # Control throttle/snoop with nsctl
96 #load plugin "throttlectl"
97 #load plugin "snoopctl"
99 # Punt RX speed if not supplied
100 #load plugin "setrxspeed"
102 # Remove domain from username
103 #load plugin "stripdomain"
106 #load plugin "garden"