Hello, I need help setting up a second Docker network that communicates externally via a separate network card in the UNRaid server.
My setup is as follows: I have various VLANs in my home network routed through pfSense. Network 10.11.12.0 is my default network with VLAN tag 10. Network 192.168.20.0 is a secured network that goes to the internet via a VPN provider, running over VLAN tag 20. The tagging is done via the switchport.
The Docker containers run smoothly over 10.11.12.0. However, I want some containers to access the internet via the VPN LAN. For this, I have set up a second network card in Unraid. I can access the Unraid dashboard via both IPs.
Network Settings:
Docker Settings:
When I select one of the custom network settings in the container settings, I can no longer reach the container.
Ideally, I would like a second internal Docker network that then performs NAT on my second network adapter.