1 |
unnilennium |
1.1 |
--- smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/60options.toggle_passtos 2010-10-26 10:59:07.000000000 +0200 |
2 |
|
|
+++ smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/60options 2010-10-26 11:21:14.000000000 +0200 |
3 |
|
|
@@ -8,6 +8,7 @@ |
4 |
|
|
my $redirectGW = ${'openvpn-bridge'}{redirectGW} || 'PerClient'; |
5 |
|
|
my $proto = ${'openvpn-bridge'}{protocol} || 'udp'; |
6 |
|
|
my $duplicate = ${'openvpn-bridge'}{duplicateCN} || 'disabled'; |
7 |
|
|
+my $passtos = ${'openvpn-bridge'}{PassTOS} || 'enabled'; |
8 |
|
|
my $pushRoutes = ${'openvpn-bridge'}{PushLocalNetworks} || 'enabled'; |
9 |
|
|
|
10 |
|
|
use esmith::NetworksDB; |
11 |
|
|
@@ -65,8 +66,11 @@ |
12 |
|
|
$OUT .= "duplicate-cn\n"; |
13 |
|
|
} |
14 |
|
|
|
15 |
|
|
+if ($passtos eq 'enabled'){ |
16 |
|
|
+ $OUT .= "passtos\n"; |
17 |
|
|
+} |
18 |
|
|
+ |
19 |
|
|
} |
20 |
|
|
|
21 |
|
|
nice 5 |
22 |
|
|
-passtos |
23 |
|
|
|