digitaldex Posted January 27 Share Posted January 27 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. Quote Link to comment
digitaldex Posted January 28 Author Share Posted January 28 no one with a hint? Quote Link to comment
Vr2Io Posted January 29 Share Posted January 29 (edited) On 1/28/2024 at 12:01 AM, digitaldex said: Ideally, I would like a second internal Docker network that then performs NAT on my second network adapter. Unraid won't do NAT, you need a router gateway in 192.168.20.1 for accessing Internet for VLAN20. To access that container, client also need in same subnet & network. Edited January 29 by Vr2Io Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.