00:00 TrueNAS Per Application IP Addresses
00:18 TrueNAS Version
00:36 Networking Setup
02:13 How To Setup IP’s for Applications
03:52 How TrueNAS Application Routing
Thanks so much for this summary. I’m trying to understand better the default gateway and DNS routing for apps using a different interface. I currently host a Storj node app in TrueNAS ElectricEel-24.10.2.2. My TrueNAS has two NICs:
eno1 is on my primary LAN, while br0 is on LAN3. LAN3 is where I have external services NAT’d to in pfSense (hosted websites, game servers, Nextcloud, etc). The exception is Storj which I’ve had to leave on LAN since I couldn’t give it its own IP in the TrueNAS app. I’d like to move my Storj app from eno1 to br0. I was able to create a new IP alias on br0 and then assign it in the Storj app. Once restarted, I can access the Storj web UI on the new IP address on LAN3.
However, the Storj app logs show that it can’t access the Storj satellite sites going out to the internet. There appears to be no place to specify a different default gateway and DNS server for the Storj app.
Question: LAN3 is isolated from LAN in my pfSense firewall rules, so a device on LAN3 (192.168.44.0/24) can’t hit the default gateway or DNS on LAN (192.168.42.1). LAN3 is intended to use 192.168.44.1 as its gateway and DNS server. Is this preventing the Storj app from accessing the satellite servers on the internet, or should the app somehow be able to use the default gateway specified in TrueNAS?
Does this mean it is not possible to assign a ‘policy-based route’ in unifi for a cerain app (qBittorrent for example) to go trough a certain interface/VPN tunnel?