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 # Kill timedout sessions ? (default yes)
45 #set kill_timedout_sessions no
47 # Allow multiple logins for specific username
50 # Write usage accounting files into specified directory
51 set accounting_dir "/var/run/l2tpns/acct"
53 # Listen address for L2TP
54 #set bind_address 1.1.1.1
56 # Send a gratiuitous ARP for bind address
59 # Gateway address given to clients
60 #set peer_address 0.0.0.0
62 # Default throttle rate in kb/s
65 # Number of buckets to allocate for throttling
66 #set throttle_buckets 3000
68 # If set to true, dump current speed to stderr every second
71 # Number of packets to read from tun/udp/cluster fd when select
73 #set multi_read_count 10
75 # Set scheduling priority of process to SCHED_FIFO
76 #set scheduler_fifo no
78 # Lock pages into memory
81 # Maximum number of host unreachable packets to send per second
84 # Maximum number of downstream packets per 0.1s to handle for each
85 # session (0 = ulimited)
88 # Cluster multicast address, interface
89 #set cluster_address 239.192.13.13
90 #set cluster_interface eth0
92 # Cluster multicast TTL
93 #set cluster_mcast_ttl 1
95 # Cluster timers (1/10th second)
96 #set cluster_hb_interval 5
97 #set cluster_hb_timeout 150
99 # Minimum number of slaves before master withdraws routes
100 #set cluster_master_min_adv 1
102 # IPv6 address prefix
106 #load plugin "sessionctl"
108 # Throttle/snoop based on RADIUS
109 #load plugin "autothrottle"
110 #load plugin "autosnoop"
112 # Control throttle/snoop with nsctl
113 #load plugin "throttlectl"
114 #load plugin "snoopctl"
116 # Punt RX speed if not supplied
117 #load plugin "setrxspeed"
119 # Remove domain from username
120 #load plugin "stripdomain"
123 #load plugin "garden"