{{template "prt_nav.html" .}}

WireGuard VPN Administration

Interface status for {{.Device.DeviceName}}
Public Key: {{.Device.PublicKey}}
Public Endpoint: {{.Device.Endpoint}}
Listening Port: {{.Device.ListenPort}}
Enabled Peers: {{len .Device.Interface.Peers}}
IP Address: {{.Device.IPsStr}}
Default allowed IP's: {{.Device.AllowedIPsStr}}
Default DNS servers: {{.Device.DNSStr}}
Default MTU: {{.Device.Mtu}}
Default Keepalive Interval: {{.Device.PersistentKeepalive}}

Current VPN Users

{{range $i, $p :=.Peers}} {{end}}
Identifier Public Key E-Mail IP's Traffic Last Handshake
{{$p.Identifier}} {{$p.PublicKey}} {{$p.Email}} {{$p.IPsStr}} {{if $p.DeactivatedAt}}-{{else}}{{$p.Peer.ReceiveBytes}} / {{$p.Peer.TransmitBytes}}{{end}} {{if $p.DeactivatedAt}}-{{else}}{{$p.Peer.LastHandshakeTime}}{{end}} {{if eq $.Session.IsAdmin true}} {{end}}
{{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}}
{{$p.Config}}
  • 2

Currently listed peers: {{len .Peers}}

{{template "prt_footer.html"}}