Wifi backup when end0 disconnected

Hi everyone! I’ve been using home assistant for a while now, but I just signed up here. I hope I’m not using the wrong way to ask for help. I currently have HA installed on Raspberry Pi5 connected via ethernet to my router. I connected the wifi in settings>system>network and in fact I see that it is connected as you can see from the images. I would like that when I lose the connection on end0, home assistant automatically uses the wifi connection (in my case I connected it to a mobile hotspot). This does not happen unless I restart home assistant. Same thing if end0 starts working again, I have to restart again to make it use this connection. I thought that home assistant/raspberry would automatically perform the exchange without restarting. Maybe I configured something wrong… can someone help me? Thanks a lot in advance.

Hello Lorenzo,

Technically those are router/firewall functions. Install PFSense or OPNSense and do it there…

Thanks for your advice. I thought the home assistant wifi connection would save me from having to add hardware to run a backup internet network. Is PFsense just the software right? Do I need a netgate device to make this work?

Any old PC will run the software. Doesn’t work with a Pi though or risc, needs to be x86 but I use 12YO core2 duo machines with a couple of extra Ethernet’s on a card and they work great.