From dab7d29bb2b663721129f477649022f1fb85fedc Mon Sep 17 00:00:00 2001 From: Rakesh Date: Wed, 24 Mar 2021 07:43:31 +0100 Subject: [PATCH] systemvm: Load modules to support NAT traversal in VR (#4777) Load necessary modules so that VPN connection works properly --- systemvm/debian/opt/cloud/bin/setup/router.sh | 3 +++ systemvm/debian/opt/cloud/bin/setup/vpcrouter.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/systemvm/debian/opt/cloud/bin/setup/router.sh b/systemvm/debian/opt/cloud/bin/setup/router.sh index e1fe8cd9646..7c9549354e1 100755 --- a/systemvm/debian/opt/cloud/bin/setup/router.sh +++ b/systemvm/debian/opt/cloud/bin/setup/router.sh @@ -99,6 +99,9 @@ setup_router() { if [ -f /etc/cron.daily/logrotate ]; then mv -n /etc/cron.daily/logrotate /etc/cron.hourly 2>&1 fi + + # Load modules to support NAT traversal in VR + modprobe nf_nat_pptp } routing_svcs diff --git a/systemvm/debian/opt/cloud/bin/setup/vpcrouter.sh b/systemvm/debian/opt/cloud/bin/setup/vpcrouter.sh index 9e6cdb7b74b..68877821fb3 100755 --- a/systemvm/debian/opt/cloud/bin/setup/vpcrouter.sh +++ b/systemvm/debian/opt/cloud/bin/setup/vpcrouter.sh @@ -112,6 +112,9 @@ EOF if [ -f /etc/cron.daily/logrotate ]; then mv -n /etc/cron.daily/logrotate /etc/cron.hourly 2>&1 fi + + # Load modules to support NAT traversal in VR + modprobe nf_nat_pptp } routing_svcs