Reaperberri
Cadet
- Joined
- Oct 7, 2022
- Messages
- 2
Hi everyone. I installed TrueNAS Scale on my machine, and set up an Ubuntu VM.
I followed the guide in the docs to get access to the NAS from the VM by settings up a bridge interface, and everything works fine. I can access the NFS shares without a problem.
The issue is, I can't access any Docker containers that I expose with ports when I'm using this bridge interface.
My setup is:
TrueNAS
enp4s0: DHCP off, no IP
br0: DHCP off, IP is 192.168.1.186/24
Global configuration
Default gateway: 192.168.1.1
Nameservers: 1.1.1.1 1.0.0.1
VM
Connected to br0, has static ip 192.168.1.100
/etc/network/interfaces:
I can ping between TrueNAS and the VM, and I can ssh into the VM from my PC on the network.
I just can't access anything in the browser (as simple as an nginx container, that worked without the bridge interface)
What am I doing wrong?
Thanks!
I followed the guide in the docs to get access to the NAS from the VM by settings up a bridge interface, and everything works fine. I can access the NFS shares without a problem.
The issue is, I can't access any Docker containers that I expose with ports when I'm using this bridge interface.
My setup is:
TrueNAS
enp4s0: DHCP off, no IP
br0: DHCP off, IP is 192.168.1.186/24
Global configuration
Default gateway: 192.168.1.1
Nameservers: 1.1.1.1 1.0.0.1
VM
Connected to br0, has static ip 192.168.1.100
/etc/network/interfaces:
Code:
iface ens3 inet static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 1.1.1.1 1.0.0.1
I can ping between TrueNAS and the VM, and I can ssh into the VM from my PC on the network.
I just can't access anything in the browser (as simple as an nginx container, that worked without the bridge interface)
What am I doing wrong?
Thanks!