Skip to content

Instantly share code, notes, and snippets.

View lylavoie's full-sized avatar

Lincoln Lavoie lylavoie

View GitHub Profile
@rechner
rechner / freeipa-openvpn.md
Last active May 7, 2024 18:27
FreeIPA setup for OpenVPN logins

This article proved to be a decent starting point, but I was particularly interested in allowing password-based logins to OpenVPN using a username/password backed by FreeIPA (opposed to client certificates) as the identity provider.

  • IPA join your VPN machine: ipa-client-install --mkhomedir
  • Get a kerberos ticket: kinit
  • Create a Kerberos service principle and HBAC rule for openvpn access:
ipa service-add openvpn/`hostname`
  • Create new hbacrule in console, mark host as the VPN host, and whatever group you want to restrict access to:
@lylavoie
lylavoie / layout.png
Last active March 30, 2024 21:28
ESPHome Nixie Clock
layout.png