provide more comments/defaults in etc/startup-config.default
[l2tpns.git] / etc / startup-config.default
1 # Debugging level
2 set debug 3
3
4 # Log file: comment out to use stderr, use "syslog:facility" for syslog
5 set log_file "/var/log/l2tpns"
6
7 # Write pid to this file
8 set pid_file "/var/run/l2tpns.pid"
9
10 # Shared secret with LAC
11 set l2tp_secret "secret"
12
13 # Only 2 DNS server entries are allowed
14 set primary_dns 10.0.0.1
15 set secondary_dns 10.0.0.2
16
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"
23
24 # Acceptable authentication types (pap, chap) in order of preference
25 #set radius_authtypes "pap"
26
27 # Turn on or off Radius Accounting
28 #set radius_accounting no
29
30 # Port for DAE RADIUS requests
31 #set radius_dae_port 3799
32
33 # Allow multiple logins for the same username
34 #set allow_duplicate_users no
35
36 # Write usage accounting files into specified directory
37 set accounting_dir "/var/run/l2tpns/acct"
38
39 # Listen address for L2TP
40 #set bind_address 1.1.1.1
41
42 # Send a gratiuitous ARP for bind address
43 #set send_garp no
44
45 # Gateway address given to clients
46 #set peer_address 0.0.0.0
47
48 # Default throttle rate in kb/s
49 #set throttle_speed 0
50
51 # Number of buckets to allocate for throttling
52 #set throttle_buckets 3000
53
54 # If set to anything other than 0, setuid when initialised.
55 #set setuid 0
56
57 # If set to true, dump current speed to stderr every second
58 #set dump_speed no
59
60 # Number of packets to read from tun/udp/cluster fd when select
61 # returns readable
62 #set multi_read_count 10
63
64 # Set scheduling priority of process to SCHED_FIFO
65 #set scheduler_fifo no
66
67 # Lock pages into memory
68 #set lock_pages no
69
70 # Maximum number of host unreachable packets to send per second
71 #set icmp_rate 0
72
73 # Maximum number of downstream packets per 0.1s to handle for each
74 # session (0 = ulimited)
75 #set packet_limit 0
76
77 # Cluster multicast address, interface
78 #set cluster_address 239.192.13.13
79 #set cluster_interface eth0
80
81 # Cluster timers (1/10th second)
82 #set cluster_hb_interval 5
83 #set cluster_hb_timeout 150
84
85 # Minimum number of slaves before master withdraws routes
86 #set cluster_master_min_adv 1
87
88 # Drop/kill sessions
89 #load plugin "sessionctl"
90
91 # Throttle/snoop based on RADIUS
92 #load plugin "autothrottle"
93 #load plugin "autosnoop"
94
95 # Control throttle/snoop with nsctl
96 #load plugin "throttlectl"
97 #load plugin "snoopctl"
98
99 # Punt RX speed if not supplied
100 #load plugin "setrxspeed"
101
102 # Remove domain from username
103 #load plugin "stripdomain"
104
105 # Walled garden
106 #load plugin "garden"