@php($cache = Cache::get('frpTunnel_data_' . $tunnel->client_token, []))

隧道状态:  @if ($cache['status'] ?? false === 'online') 在线 @else 离线 @endif

连接数: {{ $cache['cur_conns'] ?? 0 }}

下载流量: {{ unitConversion($cache['today_traffic_in'] ?? 0) }}

上载流量: {{ unitConversion($cache['today_traffic_out'] ?? 0) }}


如果填写锁定原因,隧道将会立即下线,并且客户端无法登录。

@csrf @method('PATCH')
locked_reason) value="{{$tunnel->locked_reason}}" @endif placeholder="留空解除" class="form-control"/>
{{-- @if ($host->protocol == 'http' || $host->protocol == 'https')

网页截图

@endif --}}

配置文件