l2tp-secrets(5)
π l2tp-secrets β the L2TPD secrets file π
okay bestie, buckle up, we're reading l2tp-secrets(5) together and honestly? it's giving "small file, big responsibility" π
β¨ NAME β¨
l2tp-secrets β literally the L2TPD secrets file, that's the whole vibe π
πΈ DESCRIPTION πΈ
So. The l2tp-secrets file is where you keep all your challenge-response authentication info for xl2tpd, which is the implementation of the l2tp protocol. The format of this file is derived from the pap and chap secrets file format used in pppd β so if you already know those, you're lowkey ahead π
The secrets file is composed of zero or more lines, each with 3 fields. Every line = one authentication secret. The 3 fields represent our hostname, the remote hostname, and the secret used in the authentication process. iconic trio fr fr π«Ά
- First field β our hostname. A
*may be used as a wildcard β¨ - Second field β the remote system's hostname. Again, a
*may be used as a wildcard β¨ - Third field β the secret used if the previous two fields match the hostnames of the systems involved.
now listen, about that third field π the secret should, ideally, be at 16 characters long (that's the length of an MD5 digest output), and should probably be longer to ensure sufficient security. There is no minimum length requirement, however. no cap.
π FILES π
/etc/xl2tpd/xl2tpd.conf/etc/xl2tpd/l2tp-secrets/var/run/xl2tpd/l2tp-control
π BUGS π
Please send bugs and comment to xl2tpd@lists.xelerance.com β they wanna hear from you, bestie, don't be shy π
π¦ SEE ALSO π¦
π AUTHORS π
Michael Richardson <mcr@xelerance.com> Paul Wouters <paul@xelerance.com>
Patched contributed by:
- Jacco de Leeuw
<jacco2@dds.nl> - Cedric Schieli
<cschieli@gmail.com>
Previous development was hosted at sourceforge (http://www.sourceforge.net/projects/l2tpd) by:
- Scott Balmos
<sbalmos@iglou.com> - David Stipp
<dstipp@one.net> - Jeff McAdams
<jeffm@iglou.com>
Based off of l2tpd version 0.60 Copyright (C)1998 Adtran, Inc. Mark Spencer <markster@marko.net>
and that's the whole page, bestie!! πβ¨ this lil slice of the manual was brought to you by Jeff McAdams, Jan 2022, and it lives under the name l2tp-secrets(5). go forth and authenticate responsibly ππ¦π
π¦ where this page comes from
- alpine 3.22: xl2tpd-doc 1.3.18-r1 Β· GPL-2.0-or-later
- alpine 3.23: xl2tpd-doc 1.3.19-r0 Β· GPL-2.0-or-later
- alpine 3.24: xl2tpd-doc 1.3.20-r0 Β· GPL-2.0-or-later
- arch rolling: xl2tpd 1.3.20-1 Β· GPL
- debian bookworm: xl2tpd 1.3.18-1
- debian trixie: xl2tpd 1.3.18-1+b1
- nixos 26.05: xl2tpd 1.3.20
- nixpkgs unstable: xl2tpd 1.3.20
- opensuse-leap 16.0: xl2tpd 1.3.18-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: xl2tpd 1.3.18-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: xl2tpd 1.3.18-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: xl2tpd 1.3.18-bp160.1.13 Β· GPL-2.0-only
- ubuntu noble: xl2tpd 1.3.18-1build2
- ubuntu questing: xl2tpd 1.3.18-1build2
- ubuntu resolute: xl2tpd 1.3.20-1 Β· GPL
- ubuntu stonking: xl2tpd 1.3.20-1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms