summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-06-26 20:50:19 +0200
committerDmitry Kozlov <xeb@mail.ru>2013-06-29 15:01:08 +0400
commitca024045c6f8b1fd19c928db861c3437bdc705a6 (patch)
treedf9b43b637b1dc7be52713eb8292187a6cc456a8 /accel-pppd
parentcafc6f2c69d908f7b534fa3792029d3704b2fe88 (diff)
downloadaccel-ppp-ca024045c6f8b1fd19c928db861c3437bdc705a6.tar.gz
accel-ppp-ca024045c6f8b1fd19c928db861c3437bdc705a6.zip
l2tp: Unset ephemeral ports by default
Disable use of ephemeral ports by default since it poses problems with NAT and wasn't used in earlier versions of accel-ppp. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/accel-ppp.conf.52
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5
index 23970232..2faf2ab7 100644
--- a/accel-pppd/accel-ppp.conf.5
+++ b/accel-pppd/accel-ppp.conf.5
@@ -462,7 +462,7 @@ AVPs that support it).
Specifies if an arbitrary source port is used when replying to a tunnel
establishment request. When this option is deactivated, the destination
port of the incoming request (SCCRQ) is used as source port for the
-reply (SCCRP). Default value is 1.
+reply (SCCRP). Default value is 0.
.SH [radius]
.br
Configuration of RADIUS module.
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index 5f731933..146a03ed 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -52,7 +52,7 @@ int conf_verbose = 0;
int conf_hide_avps = 0;
int conf_avp_permissive = 0;
static int conf_port = L2TP_PORT;
-static int conf_ephemeral_ports = 1;
+static int conf_ephemeral_ports = 0;
static int conf_timeout = 60;
static int conf_rtimeout = 5;
static int conf_retransmit = 5;