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
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 # Write usage accounting files into specified directory
45 set accounting_dir "/var/run/l2tpns/acct"
47 # Listen address for L2TP
48 #set bind_address 1.1.1.1
50 # Send a gratiuitous ARP for bind address
53 # Gateway address given to clients
54 #set peer_address 0.0.0.0
56 # Default throttle rate in kb/s
59 # Number of buckets to allocate for throttling
60 #set throttle_buckets 3000
62 # If set to anything other than 0, setuid when initialised.
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
100 #load plugin "sessionctl"
102 # Throttle/snoop based on RADIUS
103 #load plugin "autothrottle"
104 #load plugin "autosnoop"
106 # Control throttle/snoop with nsctl
107 #load plugin "throttlectl"
108 #load plugin "snoopctl"
110 # Punt RX speed if not supplied
111 #load plugin "setrxspeed"
113 # Remove domain from username
114 #load plugin "stripdomain"
117 #load plugin "garden"