{{template "prt_nav.html" .}}

WireGuard VPN Administration

{{if $.Alerts.HasAlert}} {{end}}
Interface status for {{.Device.DeviceName}}    
Public Key: {{.Device.PublicKey}}
Public Endpoint: {{.Device.Endpoint}}
Listening Port: {{.Device.ListenPort}}
Enabled Peers: {{len .Device.Interface.Peers}}
Total Peers: {{.TotalPeers}}
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

{{if not .Static.LdapDisabled}} {{end}} M
{{range $i, $p :=.Peers}} {{end}}
Identifier Public Key E-Mail IP's Handshake
{{$p.Identifier}} {{$p.PublicKey}} {{$p.Email}} {{$p.IPsStr}} {{$p.LastHandshake}} {{if eq $.Session.IsAdmin true}} {{end}}

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" .}}