More example configs
This commit is contained in:
parent
ace7452145
commit
7442bddd3d
2 changed files with 197 additions and 3 deletions
|
|
@ -1,8 +1,16 @@
|
|||
set pppoe_if_to_bind "vpplan"
|
||||
#set pppoe_service_name "l2tpns"
|
||||
setforward "@l2tp.de" 10.0.0.11 1701 "test1"
|
||||
|
||||
set bind_portremotelns 1701
|
||||
|
||||
set cluster_interface "lo"
|
||||
|
||||
# Debugging level
|
||||
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"
|
||||
|
|
@ -11,7 +19,7 @@ set pid_file "/var/run/l2tpns.pid"
|
|||
#set hostname "localhost"
|
||||
|
||||
# Shared secret with LAC
|
||||
set l2tp_secret "secret"
|
||||
set l2tp_secret "test1"
|
||||
|
||||
# MTU of interface for L2TP traffic
|
||||
#set l2tp_mtu 1500
|
||||
|
|
@ -24,6 +32,10 @@ set l2tp_secret "secret"
|
|||
#set ppp_max_configure 10
|
||||
#set ppp_max_failure 5
|
||||
|
||||
# Can be set to "on-mismatch" to enable proxy LCP negotiation
|
||||
# (e.g. if LAC cannot pass LCP through)
|
||||
#set lcp_renegotiation "always"
|
||||
|
||||
# Only 2 DNS server entries are allowed
|
||||
set primary_dns 10.0.0.1
|
||||
set secondary_dns 10.0.0.2
|
||||
|
|
@ -155,7 +167,7 @@ set ppp_keepalive yes
|
|||
#load plugin "garden"
|
||||
|
||||
# Kernel acceleration, enable on no more than one instance on the same machine!
|
||||
#set kernel_accel yes
|
||||
set kernel_accel yes
|
||||
#
|
||||
# You will probably want to also enable MSS clamping, which l2tpns won't be able to do any more:
|
||||
# iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue