From: fred_nerk Date: Fri, 5 Mar 2004 00:21:50 +0000 (+0000) Subject: New config file format X-Git-Tag: release_1_1_0~2 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/fcb4992301d9fb0a3567abd5069532f579c9b8fc?ds=sidebyside New config file format --- diff --git a/etc/l2tpns.cfg.default b/etc/l2tpns.cfg.default index 2620ce0..3934559 100644 --- a/etc/l2tpns.cfg.default +++ b/etc/l2tpns.cfg.default @@ -1,43 +1,19 @@ -# Comment out to log to stderr -log file = /var/log/l2tpns - -# This must be defined, or it won't work -# It's only used if the LAC requests tunnel authentication -l2tp secret = foobar - -# You can have multiple radius server entries, but ony one radius secret -radius server = radius.yourdomain.com.au -radius secret = barfoo - -# Turn on or off Radius Accounting (START and STOP records) -radius accounting = 0 - -# Only 2 dns server entries are allowed -dns server = 192.168.1.1 -dns server = 192.168.1.2 - -# Set this to 0 to disable throttling -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 - +set debug 3 +set log_file "syslog:local5" +set l2tp_secret "secret" +set primary_dns 1.2.3.4 +set secondary_dns 1.2.3.5 +set save_state yes +set snoop_host 1.2.3.4 +set snoop_port 41001 +set primary_radius 1.2.3.6 +set secondary_radius 1.2.3.7 +set radius_accounting yes +set radius_secret "secret" +set bind_address 0.0.0.0 +set cluster_master 0.0.0.0 +set throttle_speed 64 +set accounting_dir "/var/run/l2tpns/acct/" +set setuid 0 +set dump_speed no +load plugin "garden"