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 # Listen address for CLI
57 #set cli_bind_address 1.1.1.1
59 # Send a gratiuitous ARP for bind address
62 # Gateway address given to clients
63 #set peer_address 0.0.0.0
65 # Default throttle rate in kb/s
68 # Number of buckets to allocate for throttling
69 #set throttle_buckets 3000
71 # If set to true, dump current speed to stderr every second
74 # Number of packets to read from tun/udp/cluster fd when select
76 #set multi_read_count 10
78 # Set scheduling priority of process to SCHED_FIFO
79 #set scheduler_fifo no
81 # Lock pages into memory
84 # Maximum number of host unreachable packets to send per second
87 # Maximum number of downstream packets per 0.1s to handle for each
88 # session (0 = ulimited)
91 # Cluster multicast address, interface
92 #set cluster_address 239.192.13.13
93 #set cluster_interface eth0
95 # Cluster multicast TTL
96 #set cluster_mcast_ttl 1
98 # Cluster timers (1/10th second)
99 #set cluster_hb_interval 5
100 #set cluster_hb_timeout 150
102 # Minimum number of slaves before master withdraws routes
103 #set cluster_master_min_adv 1
105 # IPv6 address prefix
109 #load plugin "sessionctl"
111 # Throttle/snoop based on RADIUS
112 #load plugin "autothrottle"
113 #load plugin "autosnoop"
115 # Control throttle/snoop with nsctl
116 #load plugin "throttlectl"
117 #load plugin "snoopctl"
119 # Punt RX speed if not supplied
120 #load plugin "setrxspeed"
122 # Remove domain from username
123 #load plugin "stripdomain"
126 #load plugin "garden"