mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add Type-Of-Service-passthru for server and client
This commit is contained in:
parent
af624dbc83
commit
8fc63cd85d
@ -441,6 +441,8 @@ EOD;
|
||||
|
||||
if ($settings['use_lzo']) $openvpn_conf .= "comp-lzo\n";
|
||||
|
||||
if ($settings['passtos']) $openvpn_conf .= "passtos\n";
|
||||
|
||||
if ($settings['dynamic_ip']) {
|
||||
$openvpn_conf .= "persist-remote-ip\n";
|
||||
$openvpn_conf .= "float\n";
|
||||
@ -655,4 +657,4 @@ function openvpn_print_javascript2() {
|
||||
EOD;
|
||||
print($javascript);
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -284,6 +284,12 @@
|
||||
<description>The maximum number of concurrently connected clients we want to allow.</description>
|
||||
<type>input</type>
|
||||
</field>
|
||||
<field>
|
||||
<fieldname>passtos</fieldname>
|
||||
<fielddescr>Pass Type-Of-Service</fielddescr>
|
||||
<description>Checking this will set the TOS field of the tunnel packet to what the payload's TOS is.</description>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<fieldname>custom_options</fieldname>
|
||||
<fielddescr>Custom options</fielddescr>
|
||||
|
||||
@ -195,6 +195,12 @@
|
||||
<description>Checking this will let the openvpn client choose a dynamic sourceport for this connection.</description>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<fieldname>passtos</fieldname>
|
||||
<fielddescr>Pass Type-Of-Service</fielddescr>
|
||||
<description>Checking this will set the TOS field of the tunnel packet to what the payload's TOS is.</description>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<fieldname>custom_options</fieldname>
|
||||
<fielddescr>Custom options</fielddescr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user