<?=
$form->field($model, 'chain')->dropDownList(['srcnat' => 'srcnat',
    'dstnat' => 'dstnat',
]);
?>
<?= $form->field($model, 'in_interface')->dropDownList($interfaces); ?>
<?= $form->field($model, 'out_interface')->dropDownList($interfaces); ?>
<?= $form->field($model, 'in_bridge')->dropDownList($bridges); ?>
<?= $form->field($model, 'out_bridge')->dropDownList($bridges); ?>
<?= $form->field($model, 'src_mac_address')->label('Src. MAC Address'); ?>
<?= $form->field($model, 'dst_mac_address')->label('Dst. MAC Address'); ?>
<?= $form->field($model, 'mac_protocol')->label('MAC Protocol'); ?>
<?= $form->field($model, 'src_address')->label('Src. IP Address'); ?>
<?= $form->field($model, 'src_port')->label('Src. Port'); ?>
<?= $form->field($model, 'dst_address')->label('Dst. IP Address'); ?>
<?= $form->field($model, 'dst_port')->label('Dst. Port'); ?>
<?= $form->field($model, 'ip_protocol')->label('IP Protocol'); ?>
<label class="control-label" for="firewall-lfilter">Packet Mark</label>
<input type="text" class="form-control" name="Nat[packet_mark]" list="packet_mark" value=<?php echo $model->packet_mark ?>>
<datalist id="packet_mark">

    <option value="no-mark">no-mark</option>";
    <?php
    foreach ($packetMark as $value) {
        echo "<option value=$value>$value</option>";
    }
    ?>

</datalist></br>
<?= $form->field($model, 'ingress_priority')->label('Inggess Priority'); ?>