Add Type-Of-Service-passthru for server and client

This commit is contained in:
Martin Fuchs 2007-06-24 21:03:25 +00:00
parent af624dbc83
commit 8fc63cd85d
3 changed files with 15 additions and 1 deletions

View File

@ -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);
}
?>
?>

View File

@ -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>

View File

@ -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>