Add of the ppp_keepalive option.
[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 # This host name, if different from the OS one
11 #set hostname "localhost"
12
13 # Shared secret with LAC
14 set l2tp_secret "secret"
15
16 # MTU of interface for L2TP traffic
17 #set l2tp_mtu 1500
18
19 # PPP counter and timer values
20 #set ppp_restart_time 3
21 #set ppp_max_configure 10
22 #set ppp_max_failure 5
23
24 # Only 2 DNS server entries are allowed
25 set primary_dns 10.0.0.1
26 set secondary_dns 10.0.0.2
27
28 # Can have multiple radius server entries, but ony one radius secret
29 set primary_radius 10.0.0.3
30 #set primary_radius_port 1645
31 #set secondary_radius 0.0.0.0
32 #set secondary_radius_port 1645
33 set radius_secret "secret"
34
35 # Acceptable authentication types (pap, chap) in order of preference
36 #set radius_authtypes "pap"
37
38 # Turn on or off Radius Accounting
39 #set radius_accounting no
40
41 # Port for DAE RADIUS requests
42 #set radius_dae_port 3799
43
44 # Allow multiple logins for the same username
45 #set allow_duplicate_users no
46
47 # Kill timedout sessions ? (default yes)
48 #set kill_timedout_sessions no
49
50 # Allow multiple logins for specific username
51 #set guest_account ""
52
53 # Write usage accounting files into specified directory
54 set accounting_dir "/var/run/l2tpns/acct"
55
56 # Listen address for L2TP
57 #set bind_address 1.1.1.1
58
59 # Listen address for CLI
60 #set cli_bind_address 127.0.0.1
61
62 # Send a gratiuitous ARP for bind address
63 #set send_garp no
64
65 # Gateway address given to clients
66 #set peer_address 0.0.0.0
67
68 # Default throttle rate in kb/s
69 #set throttle_speed 0
70
71 # Number of buckets to allocate for throttling
72 #set throttle_buckets 3000
73
74 # If set to true, dump current speed to stderr every second
75 #set dump_speed no
76
77 # Number of packets to read from tun/udp/cluster fd when select
78 # returns readable
79 #set multi_read_count 10
80
81 # Set scheduling priority of process to SCHED_FIFO
82 #set scheduler_fifo no
83
84 # Lock pages into memory
85 #set lock_pages no
86
87 # Maximum number of host unreachable packets to send per second
88 #set icmp_rate 0
89
90 # Maximum number of downstream packets per 0.1s to handle for each
91 # session (0 = ulimited)
92 #set packet_limit 0
93
94 # Cluster multicast address, interface
95 #set cluster_address 239.192.13.13
96 #set cluster_interface eth0
97
98 # Cluster multicast TTL
99 #set cluster_mcast_ttl 1
100
101 # Cluster timers (1/10th second)
102 #set cluster_hb_interval 5
103 #set cluster_hb_timeout 150
104
105 # Minimum number of slaves before master withdraws routes
106 #set cluster_master_min_adv 1
107
108 # IPv6 address prefix
109 #set ipv6_prefix ::
110
111 # BGP NEXT_HOP path attribute
112 #set nexthop 10.0.1.1
113 #set nexthop6 2001:db8::1
114
115 # Time between last packet sent and LCP ECHO generation (default 10 seconds)
116 #set echo_timeout 10
117 # Drop sessions who have not responded within idle_echo_timeout seconds (default 240 seconds)
118 #set idle_echo_timeout 240
119 # Change this value to no to force generation of LCP ECHO every echo_timeout seconds, even there are activity on the link (default yes)
120 set ppp_keepalive yes
121
122 # Drop/kill sessions
123 #load plugin "sessionctl"
124
125 # Throttle/snoop based on RADIUS
126 #load plugin "autothrottle"
127 #load plugin "autosnoop"
128
129 # Control throttle/snoop with nsctl
130 #load plugin "throttlectl"
131 #load plugin "snoopctl"
132
133 # Punt RX speed if not supplied
134 #load plugin "setrxspeed"
135
136 # Remove domain from username
137 #load plugin "stripdomain"
138
139 # Walled garden
140 #load plugin "garden"