1 |
brianr |
1.1 |
diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec |
2 |
|
|
--- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-02-17 14:19:42.000000000 +0100 |
3 |
|
|
+++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-03-10 18:24:22.476000708 +0100 |
4 |
|
|
@@ -1,5 +1,5 @@ |
5 |
|
|
{ |
6 |
|
|
- my $ipsec_access = $ipsec{access}; |
7 |
|
|
+ my $ipsec_access = $ipsec{access} || ''; |
8 |
|
|
|
9 |
|
|
if ( $ipsec_access eq 'public' ) { |
10 |
|
|
$OUT .= " # Do not NAT VPN traffic\n"; |
11 |
|
|
diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP |
12 |
|
|
--- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-02-17 14:19:42.000000000 +0100 |
13 |
|
|
+++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-03-10 18:24:22.476000708 +0100 |
14 |
|
|
@@ -1,7 +1,7 @@ |
15 |
|
|
# based on /etc/e-smith/templates/etc/rc.d/init.d/masq/55AllowGRE |
16 |
|
|
|
17 |
|
|
{ |
18 |
|
|
-my $ipsec_access = $ipsec{access}; |
19 |
|
|
+my $ipsec_access = $ipsec{access} || ''; |
20 |
|
|
|
21 |
|
|
if ($ipsec_access eq 'public') { |
22 |
|
|
|
23 |
|
|
diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP |
24 |
|
|
--- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-02-17 14:19:42.000000000 +0100 |
25 |
|
|
+++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-03-10 18:24:22.476000708 +0100 |
26 |
|
|
@@ -1,6 +1,6 @@ |
27 |
|
|
# based on /etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustGRE |
28 |
|
|
{ |
29 |
|
|
- my $ipsec_access = $ipsec{access}; |
30 |
|
|
+ my $ipsec_access = $ipsec{access} || ''; |
31 |
|
|
my $ipsec_status = $ipsec{status}; |
32 |
|
|
if ( $ipsec_access eq 'public' ) { |
33 |
|
|
|