<?= $form->field($model, 'connect_to')->label('Connect To'); ?>
<?= $form->field($model, 'port')->label('Port'); ?>
<?=

$form->field($model, 'mode')->dropDownList(['ip' => 'ip',
    'ethernet' => 'ethernet',
]);
?>
<?= $form->field($model, 'user')->label('User'); ?>
<?= $form->field($model, 'password')->passwordInput(); ?>
<?= $form->field($model, 'profile')->dropDownList($profile); ?>
<?php $key['none'] = 'none'; ?>
<?= $form->field($model, 'certificate')->dropDownList($key); ?>
<?=

$form->field($model, 'auth')->dropDownList(['sha1' => 'sha1',
    'null' => 'null',
    'md5' => 'md5',
]);
?>
<?=

$form->field($model, 'cipher')->dropDownList(['aes128' => 'aes128',
    'aes192' => 'aes192',
    'aes256' => 'aes256',
    'blowfish128' => 'blowfish128',
]);
?>
<?= $form->field($model, 'add_default_route')->checkBox(); ?>