My Virtual Machine Does Not Have An Internet Connection Print

  • 0

As all virtual machines will come with a cross site IP, there will be times you may notice that a public internet connection is not working such as when running an update or pinging.
You will still be able to ssh into your virtual machine with the public or private IP but there will be no outbound connection.

This would most likely be due to the fact that the cross site IP is on, you can confirm this by running the following command:

sudo wg show

If there is output, then your internal cross site network is the primary network so the public network will not function.
To fix this, simply bring down the cross sites network card with the following command:

sudo wg-quick down wg0

This will allow your public NIC to be functional again and the internet connection will be restored.

To bring back up the cross site network, please run the following command:

sudo wg-quick up wg0

If you encounter any issues, please contact support.

 


Was this answer helpful?

Back