<?= $form->field($model, 'connect_to')->label('Connect To'); ?>
<?= $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, 'use_ipsec')->checkBox(); ?>
<?= $form->field($model, 'ipsec_secret')->passwordInput()->label('Ipsec Secret'); ?>
<?= $form->field($model, 'allow_fast_path')->checkBox(); ?>
<?= $form->field($model, 'add_default_route')->checkBox(); ?>
<?= $form->field($model, 'dial_on_demand')->checkBox(); ?>
<?=

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