No external internet access from Virtual Machines

I am using TrueNAS SCALE and I have a virtual machine running ubuntu server.

When I setup the VM I was able to activate ubuntu pro however i am unable to ping domains or install npm packages as I get a timeout.

If i run a traceroute it works and I am able to perform apt install commands.

My Network onfig in SCALE:

VM Devices:

VM NIC Config:


(I have tried with VirtIO but this also didn’t work)

I am able to SSH into the server locally without issue.

Traceroute, Ping & wget of google.com

I’m not sure where to go from here though

1 Like

Hi,

See if the option to bind the VM to the host adapter is available in settings.

I use tailscale peer to peer vpn software. It comes with the truenas server as an optional install and you can add it to your virtual machine as well. I run a lot of virtual machines and tail scale has always enabled me to get to the virtual machines using a private peer-to-peer IP address and you can do this free of charge.

Another option is the free version of nordvpn meshnet. I use that with virtual machines as well.

Good luck.

Thank you @LeoW . I just setup another VM and it worked with “trust Guest Filters” enabled, I then turned this on for the nic in my other VM and that works too!

2 Likes