Add troubleshooting for race condition on step 4

This commit is contained in:
Daniel Gonzalez Gasull 2018-06-28 15:39:31 +08:00 committed by GitHub
parent 045e4c7d3e
commit 349f9ba7e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,8 @@ Set up a ProxyVM as a VPN gateway using NetworkManager
And substitute "XXXXXXXXXXXXXX" for the actual password.
The contents of `passwd-file.txt` may differ depending on your VPN settings. See the [documentation for `nmcli up`](https://www.mankier.com/1/nmcli#up).
Troubleshooting: If you notice that the VPN doesn't autostart on hardware bootup but it does when restaring the VPN VM, try adding a slight delay in seconds in `/rw/config/rc.local` before the `nmcli` command, e.g. `sleep 2`.
5. (Optional) Make the network fail-close for the AppVMs if the connection to the VPN breaks.
Edit `/rw/config/qubes-firewall-user-script` and add these lines: