lagg0 is connected to pfsense
A client on vlan23 (192.168.23.54) is trying to connect to:
192.168.22.25:21114
The packet reaches TrueNAS on vlan22:
vlan22 In IP 192.168.23.54 → 192.168.22.25
But then TrueNAS generates:
ICMP host 192.168.22.25 unreachable
using source address:
192.168.20.25
How can you have apps on vlans if they reply via the default route interface?
Doesn’t this make the whole concept of having containers redundant?
Simple answer: you can’t. Apps will always use the default route configured in the truenas network settings. There are aldready multiple posts about it and as far as i can remember noone found a solution.
grok says to use Portainer so a custom docker-compose.yml can be created to support direct macvlan can be created instead of the default bridge docker NAT. Any ideas if that makes sense?