Repository: cloudstack
Updated Branches:
  refs/heads/master 723aedf9b -> 03a43159d


CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim 
ENCAPSULATION_MODE_UDP_TRANSPORT_RFC

OSX always declaims it's behind NAT no matter it's true or not, thus result in
confusion of openswan.

Add parameter "forceencaps=yes" to openswan to make sure non NAT VPN connection
from OSX can pass through.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/03a43159
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/03a43159
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/03a43159

Branch: refs/heads/master
Commit: 03a43159d8054a22ff6849db3cb75085d87978ce
Parents: 723aedf
Author: Sheng Yang <[email protected]>
Authored: Thu Oct 30 17:23:34 2014 -0700
Committer: Sheng Yang <[email protected]>
Committed: Thu Oct 30 17:23:34 2014 -0700

----------------------------------------------------------------------
 systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/03a43159/systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf 
b/systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf
index 7459e25..1cdd69d 100644
--- a/systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf
+++ b/systemvm/patches/debian/vpn/etc/ipsec.d/l2tp.conf
@@ -30,4 +30,5 @@ conn L2TP-PSK
         # ----------------------------------------------------------
         # Change 'ignore' to 'add' to enable this configuration.
         #
+        forceencaps=yes
         auto=add

Reply via email to