l2tp-secrets(5)

πŸ“¦
version 1.3.20 Β· 2 versions
  • 1.3.20 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.3.17 Β· epel 10, epel 9, ubuntu jammy
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ¦‹

xl2tpd(8), xl2tpd.conf(5)


πŸ‘‘ 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 πŸŽ€πŸ¦‹πŸ’