Imported Upstream version 2.1.21
[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 # MTU of interface for L2TP traffic
14 #set l2tp_mtu 1500
15
16 # PPP counter and timer values
17 #set ppp_restart_time 3
18 #set ppp_max_configure 10
19 #set ppp_max_failure 5
20
21 # Only 2 DNS server entries are allowed
22 set primary_dns 10.0.0.1
23 set secondary_dns 10.0.0.2
24
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"
31
32 # Acceptable authentication types (pap, chap) in order of preference
33 #set radius_authtypes "pap"
34
35 # Turn on or off Radius Accounting
36 #set radius_accounting no
37
38 # Port for DAE RADIUS requests
39 #set radius_dae_port 3799
40
41 # Allow multiple logins for the same username
42 #set allow_duplicate_users no
43
44 # Write usage accounting files into specified directory
45 set accounting_dir "/var/run/l2tpns/acct"
46
47 # Listen address for L2TP
48 #set bind_address 1.1.1.1
49
50 # Send a gratiuitous ARP for bind address
51 #set send_garp no
52
53 # Gateway address given to clients
54 #set peer_address 0.0.0.0
55
56 # Default throttle rate in kb/s
57 #set throttle_speed 0
58
59 # Number of buckets to allocate for throttling
60 #set throttle_buckets 3000
61
62 # If set to anything other than 0, setuid when initialised.
63 #set setuid 0
64
65 # If set to true, dump current speed to stderr every second
66 #set dump_speed no
67
68 # Number of packets to read from tun/udp/cluster fd when select
69 # returns readable
70 #set multi_read_count 10
71
72 # Set scheduling priority of process to SCHED_FIFO
73 #set scheduler_fifo no
74
75 # Lock pages into memory
76 #set lock_pages no
77
78 # Maximum number of host unreachable packets to send per second
79 #set icmp_rate 0
80
81 # Maximum number of downstream packets per 0.1s to handle for each
82 # session (0 = ulimited)
83 #set packet_limit 0
84
85 # Cluster multicast address, interface
86 #set cluster_address 239.192.13.13
87 #set cluster_interface eth0
88
89 # Cluster multicast TTL
90 #set cluster_mcast_ttl 1
91
92 # Cluster timers (1/10th second)
93 #set cluster_hb_interval 5
94 #set cluster_hb_timeout 150
95
96 # Minimum number of slaves before master withdraws routes
97 #set cluster_master_min_adv 1
98
99 # Drop/kill sessions
100 #load plugin "sessionctl"
101
102 # Throttle/snoop based on RADIUS
103 #load plugin "autothrottle"
104 #load plugin "autosnoop"
105
106 # Control throttle/snoop with nsctl
107 #load plugin "throttlectl"
108 #load plugin "snoopctl"
109
110 # Punt RX speed if not supplied
111 #load plugin "setrxspeed"
112
113 # Remove domain from username
114 #load plugin "stripdomain"
115
116 # Walled garden
117 #load plugin "garden"