Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 489 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 489 Bytes

oidc-wireguard-vpn

manipulate WireGuard with OpenID Connect Client Initiated Backchannel Authentication(CIBA) Flow

Requirements

  • Linux
  • WireGuard
  • nftables

Build

make build

Configure

cp oidc-wireguard-vpn.example.yaml oidc-wireguard-vpn.yaml
vim oidc-wireguard-vpn.yaml

Run

export WG_PRIVATE_KEY="wireguard private key"
export OIDC_CLIENT_ID="oidc client id"
export OIDC_CLIENT_SECRET="oidc client secret"
sudo ./oidc-wireguard-vpn