systemvm: Load modules to support NAT traversal in VR (#4777)

Load necessary modules so that VPN connection works properly
This commit is contained in:
Rakesh 2021-03-24 07:43:31 +01:00 committed by GitHub
parent 40d93af16c
commit dab7d29bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

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

View File

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