summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf.5
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-06-06 14:25:15 +0200
committerDmitry Kozlov <xeb@mail.ru>2013-06-06 17:26:40 +0400
commit386ad8576077fedb7ed83c2bea078c1082701b03 (patch)
treee80fb4cd690b346119108ec0762d1c2ee885d183 /accel-pppd/accel-ppp.conf.5
parent0b4e47b70a46ecbb1cdceae2cf2396f26e2ee99d (diff)
downloadaccel-ppp-386ad8576077fedb7ed83c2bea078c1082701b03.tar.gz
accel-ppp-386ad8576077fedb7ed83c2bea078c1082701b03.zip
l2tp: Optionally deactivate ephemeral ports
Define option 'use-ephemeral-ports' for accel-ppp.conf. When set to 0, this option deactivates the use of ephemeral ports. That is, accel-ppp won't choose an arbitrary source port when replying to a tunnel establishment request, but will use the SCCRQ's destination port instead. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r--accel-pppd/accel-ppp.conf.56
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5
index 02633584..f331ea68 100644
--- a/accel-pppd/accel-ppp.conf.5
+++ b/accel-pppd/accel-ppp.conf.5
@@ -436,6 +436,12 @@ If this option is given and
.B n
is greater than 0, then attributes sent in L2TP packets will be hidden (for
AVPs that support it).
+.TP
+.BI "use-ephemeral-ports=" 0|1
+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.
.SH [radius]
.br
Configuration of RADIUS module.