Revision dc22c75c
Added by Scott Ullrich about 20 years ago
usr/local/www/system_advanced.php | ||
---|---|---|
37 | 37 |
$pconfig['disablefilter'] = $config['system']['disablefilter']; |
38 | 38 |
$pconfig['disableftpproxy'] = $config['system']['disableftpproxy']; |
39 | 39 |
$pconfig['rfc959workaround'] = $config['system']['rfc959workaround']; |
40 |
$pconfig['filteringbridge_enable'] = isset($config['bridge']['filteringbridge']); |
|
41 | 40 |
$pconfig['ipv6nat_enable'] = isset($config['diag']['ipv6nat']['enable']); |
42 | 41 |
$pconfig['ipv6nat_ipaddr'] = $config['diag']['ipv6nat']['ipaddr']; |
43 | 42 |
$pconfig['cert'] = base64_decode($config['system']['webgui']['certificate']); |
... | ... | |
107 | 106 |
else |
108 | 107 |
unset($config['system']['rfc959workaround']); |
109 | 108 |
|
110 |
if($_POST['filteringbridge_enable'] == "yes") |
|
111 |
$config['bridge']['filteringbridge'] = true; |
|
112 |
else |
|
113 |
unset($config['bridge']['filteringbridge']); |
|
114 | 109 |
if($_POST['ipv6nat_enable'] == "yes") { |
115 | 110 |
$config['diag']['ipv6nat']['enable'] = true; |
116 | 111 |
$config['diag']['ipv6nat']['ipaddr'] = $_POST['ipv6nat_ipaddr']; |
... | ... | |
349 | 344 |
<tr> |
350 | 345 |
<td colspan="2" class="list" height="12"></td> |
351 | 346 |
</tr> |
352 |
<tr> |
|
353 |
<td colspan="2" valign="top" class="listtopic">Filtering bridge</td> |
|
354 |
</tr> |
|
355 |
<tr> |
|
356 |
<td width="22%" valign="top" class="vncell"> </td> |
|
357 |
<td width="78%" class="vtable"> |
|
358 |
<input name="filteringbridge_enable" type="checkbox" id="filteringbridge_enable" value="yes" <?php if ($pconfig['filteringbridge_enable']) echo "checked"; ?>> |
|
359 |
<strong>Enable filtering bridge</strong><span class="vexpl"><br> |
|
360 |
This will cause bridged packets to pass through the packet |
|
361 |
filter in the same way as routed packets do (by default bridged |
|
362 |
packets are always passed). If you enable this option, you'll |
|
363 |
have to add filter rules to selectively permit traffic from |
|
364 |
bridged interfaces.</span></td> |
|
365 |
</tr> |
|
366 |
<tr> |
|
367 |
<td width="22%" valign="top"> </td> |
|
368 |
<td width="78%"> |
|
369 |
<input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)"> |
|
370 |
</td> |
|
371 |
</tr> |
|
372 |
<tr> |
|
373 |
<td colspan="2" class="list" height="12"></td> |
|
374 |
</tr> |
|
375 | 347 |
<tr> |
376 | 348 |
<td colspan="2" valign="top" class="listtopic">webGUI SSL certificate/key</td> |
377 | 349 |
</tr> |
Also available in: Unified diff
Remove filtering bridge option. It's on by default now Toto.