{{template "prt_nav.html" .}}

WireGuard VPN User-Portal

Your VPN Profiles

{{range $i, $p :=.Peers}} {{end}}
Identifier Public Key E-Mail IP's Handshake
{{$p.Identifier}} {{$p.PublicKey}} {{$p.Email}} {{$p.IPsStr}} {{$p.LastHandshake}}

User details

{{if not $p.LdapUser}}

No LDAP user-information available...

{{else}}
  • Firstname: {{$p.LdapUser.Firstname}}
  • Lastname: {{$p.LdapUser.Lastname}}
  • Phone: {{$p.UID}}
  • Mail: {{$p.LdapUser.Mail}}
  • Department: {{$p.UID}}
{{end}}

Traffic

{{if not $p.Peer}}

No Traffic data available...

{{else}}

{{if $p.DeactivatedAt}}-{{else}}{{$p.Peer.ReceiveBytes}} / {{$p.Peer.TransmitBytes}}{{end}}

{{end}}
{{$p.Config}}

Currently listed peers: {{len .Peers}}

{{template "prt_footer.html" .}}