@extends('layout.main') @section('main')
Wireguard Interfaces Information

Here you can see the info about the wireguard interfaces on this router.

@csrf
@foreach (json_decode($data) as $interface) @endforeach
ID Name MTU Listen Port Running Disabled Public Key Private Key
{{ $interface->{'.id'} }} {{ $interface->name }} {{ $interface->mtu }} {{ $interface->{'listen-port'} ?? 'N/A' }} {{ $interface->running == 'true' ? 'Yes' : 'No' }} {{ $interface->disabled == 'false' ? 'No' : 'Yes' }} {{ $interface->{'public-key'} }} {{ $interface->{'private-key'} }}
@endsection