{{template "prt_nav.html" .}}

WireGuard VPN Administration

{{template "prt_flashes.html" .}}
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 Peers

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

No user information available...

{{else}}
  • Firstname: {{$p.User.Firstname}}
  • Lastname: {{$p.User.Lastname}}
  • Phone: {{$p.User.Phone}}
  • Mail: {{$p.User.Email}}
{{end}}

Connection / Traffic

{{if not $p.Peer}}

No Traffic data available...

{{else}}

{{if $p.DeactivatedAt}}-{{else}} {{$p.Peer.Endpoint}}{{end}}

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

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

Currently listed peers: {{len .Peers}}

{{template "prt_footer.html" .}}