@extends('layout.default') @section('head') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error)

{{ $error }}

@endforeach @endif {{ Form::open(['action' => 'VpnSettingController@store']) }}
設定名 * VPN_{{ Form::text('name', null, ['required' => 'required', 'id' => 'name_input']) }}
VPNサーバアドレス(ローカル) * {{ Form::text('local_address', null, ["placeholder"=>"例) 192.168.1.100", 'id' => 'local_address_input']) }}
VPNサーバアドレス(グローバル) * {{ Form::text('global_address', null, ["placeholder"=>"例) x.x.x.x:15000", 'id' => 'global_address_input']) }}
VPNインターフェース名 * {{ Form::text('interface_name', null, ['required' => 'required', "placeholder"=>"例) wg0", 'id' => 'interface_input']) }}
DNSサーバアドレス {{ Form::text('dns_servers', null, ["placeholder"=>"例) 8.8.8.8", 'id' => 'dns_servers_input']) }}
許可ホスト * {{ Form::textarea('allowed_hosts', null, ['required' => 'required', 'placeholder' => "例) 192.168.50.1\r\n例) 192.168.50.10", 'id' => 'allowed_hosts_input']) }}
{{ Form::submit('作成') }} @stop @section('script') @stop