Log in from truenas docker DHCP

sixdas

Dabbler
Joined
Oct 14, 2022
Messages
12
Hi everyone, I have my nas with TrueNAS-SCALE-22.02.3 installed

I have various applications installed including Home Assistant configured in DHCP.
I noticed that from truenas it is not possible to access or ping the ip assigned to the homeassistant docker.

How can I solve?

Thank you
 

indivision

Guru
Joined
Jan 4, 2013
Messages
806
This worked for me with a default install of Home Assistant:

nc -vz YOUR-STATIC-SERVER-IP 20810
 

sixdas

Dabbler
Joined
Oct 14, 2022
Messages
12
Hi, I didn't understand how to use your command.

I'll explain better what I would like to do.


I installed truenas scale, then I created various Dockers including that of home assistant, I set as static ip so that I can scan the network for new devices.
Now I have installed an ups on truenas, and I would like to access it via the NUT integration from home assistant. But from what I understand if I set up a docker with static ip, I can't communicate with truenas also I would also like to use the integration of truenas from home assistant, but for the same reason it doesn't work for me.

I don't know if I got the idea
 

justjasch

Dabbler
Joined
May 8, 2022
Messages
20
u need to set a bridge, without vm´s and apps can not connect direct to Truenas Host (if in the same IP Range)
1666082853572.png


u create a bridge on "main" network nic, and u need to move the main ip to the bridge.(all connections going over the bridge)

dont forget to switch apps to the bridge.

1666083041709.png
 

sixdas

Dabbler
Joined
Oct 14, 2022
Messages
12
Hi, I tried your configuration I removed the dhcp check from my eno1 network card, I created the bridge and I put it as per your screen. Then I applied the changes but it didn't work, the apps kept running while it was no longer accessible truenas than in my things and 192.168.78.210.

After a few minutes everything is back to normal, I believe that truenas has not applied the change because I no longer have the bridge connection.

Am I wrong something?
 

Attachments

  • 2022-10-18_143618.png
    2022-10-18_143618.png
    7.3 KB · Views: 190
  • 2022-10-18_143941.png
    2022-10-18_143941.png
    15.4 KB · Views: 170
  • 2022-10-18_144028.png
    2022-10-18_144028.png
    15.3 KB · Views: 180

sixdas

Dabbler
Joined
Oct 14, 2022
Messages
12
Nobody knows how to help me. I tried to create a bridge, but if I save the configuration it does not pass the tests and after 60 seconds it reverts to the previous configuration. Looking online, the steps I carry out seem correct.

Has anyone had the same problem as me and solved it?

Thank you
 
Top