New config file format
This commit is contained in:
parent
fc0a363208
commit
0739aa6e77
1 changed files with 19 additions and 43 deletions
|
|
@ -1,43 +1,19 @@
|
||||||
# Comment out to log to stderr
|
set debug 3
|
||||||
log file = /var/log/l2tpns
|
set log_file "syslog:local5"
|
||||||
|
set l2tp_secret "secret"
|
||||||
# This must be defined, or it won't work
|
set primary_dns 1.2.3.4
|
||||||
# It's only used if the LAC requests tunnel authentication
|
set secondary_dns 1.2.3.5
|
||||||
l2tp secret = foobar
|
set save_state yes
|
||||||
|
set snoop_host 1.2.3.4
|
||||||
# You can have multiple radius server entries, but ony one radius secret
|
set snoop_port 41001
|
||||||
radius server = radius.yourdomain.com.au
|
set primary_radius 1.2.3.6
|
||||||
radius secret = barfoo
|
set secondary_radius 1.2.3.7
|
||||||
|
set radius_accounting yes
|
||||||
# Turn on or off Radius Accounting (START and STOP records)
|
set radius_secret "secret"
|
||||||
radius accounting = 0
|
set bind_address 0.0.0.0
|
||||||
|
set cluster_master 0.0.0.0
|
||||||
# Only 2 dns server entries are allowed
|
set throttle_speed 64
|
||||||
dns server = 192.168.1.1
|
set accounting_dir "/var/run/l2tpns/acct/"
|
||||||
dns server = 192.168.1.2
|
set setuid 0
|
||||||
|
set dump_speed no
|
||||||
# Set this to 0 to disable throttling
|
load plugin "garden"
|
||||||
throttle rate = 0
|
|
||||||
|
|
||||||
# This can be from 1 to 5
|
|
||||||
# At 5, all packets are logged and your system will run
|
|
||||||
# very slowly
|
|
||||||
# 2 will show errors only
|
|
||||||
debug = 2
|
|
||||||
|
|
||||||
# Save / load state on restart
|
|
||||||
save state = no
|
|
||||||
|
|
||||||
# Cluster Management
|
|
||||||
#cluster master = 192.168.1.15
|
|
||||||
|
|
||||||
# Where accounting information will be dumped. Comment out to disable.
|
|
||||||
accounting dir = /var/run/l2tpns/acct/
|
|
||||||
|
|
||||||
# You need to set this to the IP address of the tun interface
|
|
||||||
# if you want to use clustering
|
|
||||||
#bind address = 127.0.0.1
|
|
||||||
|
|
||||||
# Uncomment this if you wish to use the walled garden plugin
|
|
||||||
#plugin = garden
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue