<?= $form->field($model, 'connect_to')->label('Connect To (IP:Port)'); ?>
<?= $form->field($model, 'http_proxy')->label('Proxy (IP:Port)'); ?>
<?php $key['none'] = 'none' ?>
<?= $form->field($model, 'certificate')->dropDownList($key); ?>
<?= $form->field($model, 'tls_version')->label('TLS Version');     ?>
<?= $form->field($model, 'verify_server_certificate')->checkBox(); ?>
<?= $form->field($model, 'verify_server_address_from_certificate')->checkBox(); ?>
<?= $form->field($model, 'pfs')->checkBox(); ?>
<?= $form->field($model, 'user')->label('User'); ?>
<?= $form->field($model, 'password')->passwordInput(); ?>
<?= $form->field($model, 'profile')->dropDownList($items); ?>
<?= $form->field($model, 'keepalive_timeout')->label('Keepalive Timeout'); ?>
<?= $form->field($model, 'add_default_route')->checkBox(); ?>
<?= $form->field($model, 'default_route_distance')->label('Default Route Distance'); ?>
<?= $form->field($model, 'dial_on_demand')->checkBox(); ?>
<?=

$form->field($model, 'authentication')->dropDownList(['mschap2' => 'mschap2',
    'mschap1' => 'mschap1',
    'chap' => 'chap',
    'pap' => 'pap',
        ], ['multiple' => true]);
?>