X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/3aa4eda8b1e0c4abc04439affe850d33648c7472..307a34d625d8456a2472108d0db1b5897bd6903c:/etc/l2tpns.cfg.default?ds=inline diff --git a/etc/l2tpns.cfg.default b/etc/l2tpns.cfg.default index 2620ce0..f6b26e1 100644 --- a/etc/l2tpns.cfg.default +++ b/etc/l2tpns.cfg.default @@ -1,43 +1,21 @@ -# 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" +load plugin "autothrottle" +load plugin "autosnoop"