provide more comments/defaults in etc/startup-config.default

This commit is contained in:
Brendan O'Dea 2005-06-28 14:25:21 +00:00
parent e5695ec41c
commit f7d7b96923
2 changed files with 101 additions and 15 deletions

View file

@ -3,6 +3,7 @@
- Ignore duplicate ACKs for IPCP. - Ignore duplicate ACKs for IPCP.
- Clear RADIUSIPCP for walled garden sessions on ACK. - Clear RADIUSIPCP for walled garden sessions on ACK.
- Clear cluster_master on election so that slaves will accept a new master. - Clear cluster_master on election so that slaves will accept a new master.
- Provide more comments/defaults in etc/startup-config.default.
* Tue Jun 14 2005 Brendan O'Dea <bod@optusnet.com.au> 2.1.1 * Tue Jun 14 2005 Brendan O'Dea <bod@optusnet.com.au> 2.1.1
- Add missing newline to backtrace macro. - Add missing newline to backtrace macro.

View file

@ -1,21 +1,106 @@
# Debugging level
set debug 3 set debug 3
# Log file: comment out to use stderr, use "syslog:facility" for syslog
set log_file "/var/log/l2tpns" set log_file "/var/log/l2tpns"
# Write pid to this file
set pid_file "/var/run/l2tpns.pid" set pid_file "/var/run/l2tpns.pid"
# Shared secret with LAC
set l2tp_secret "secret" set l2tp_secret "secret"
set primary_dns 1.2.3.4
set secondary_dns 1.2.3.5 # Only 2 DNS server entries are allowed
set primary_radius 1.2.3.6 set primary_dns 10.0.0.1
set secondary_radius 1.2.3.7 set secondary_dns 10.0.0.2
set radius_accounting yes
# Can have multiple radius server entries, but ony one radius secret
set primary_radius 10.0.0.3
#set primary_radius_port 1645
#set secondary_radius 0.0.0.0
#set secondary_radius_port 1645
set radius_secret "secret" set radius_secret "secret"
set bind_address 0.0.0.0
set throttle_speed 64 # Acceptable authentication types (pap, chap) in order of preference
#set radius_authtypes "pap"
# Turn on or off Radius Accounting
#set radius_accounting no
# Port for DAE RADIUS requests
#set radius_dae_port 3799
# Allow multiple logins for the same username
#set allow_duplicate_users no
# Write usage accounting files into specified directory
set accounting_dir "/var/run/l2tpns/acct" set accounting_dir "/var/run/l2tpns/acct"
set setuid 0
set dump_speed no # Listen address for L2TP
load plugin "sessionctl" #set bind_address 1.1.1.1
load plugin "throttlectl"
load plugin "autothrottle" # Send a gratiuitous ARP for bind address
load plugin "snoopctl" #set send_garp no
load plugin "autosnoop"
load plugin "garden" # Gateway address given to clients
#set peer_address 0.0.0.0
# Default throttle rate in kb/s
#set throttle_speed 0
# Number of buckets to allocate for throttling
#set throttle_buckets 3000
# If set to anything other than 0, setuid when initialised.
#set setuid 0
# If set to true, dump current speed to stderr every second
#set dump_speed no
# Number of packets to read from tun/udp/cluster fd when select
# returns readable
#set multi_read_count 10
# Set scheduling priority of process to SCHED_FIFO
#set scheduler_fifo no
# Lock pages into memory
#set lock_pages no
# Maximum number of host unreachable packets to send per second
#set icmp_rate 0
# Maximum number of downstream packets per 0.1s to handle for each
# session (0 = ulimited)
#set packet_limit 0
# Cluster multicast address, interface
#set cluster_address 239.192.13.13
#set cluster_interface eth0
# Cluster timers (1/10th second)
#set cluster_hb_interval 5
#set cluster_hb_timeout 150
# Minimum number of slaves before master withdraws routes
#set cluster_master_min_adv 1
# Drop/kill sessions
#load plugin "sessionctl"
# Throttle/snoop based on RADIUS
#load plugin "autothrottle"
#load plugin "autosnoop"
# Control throttle/snoop with nsctl
#load plugin "throttlectl"
#load plugin "snoopctl"
# Punt RX speed if not supplied
#load plugin "setrxspeed"
# Remove domain from username
#load plugin "stripdomain"
# Walled garden
#load plugin "garden"