Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Second NIC for some Docker Container

Featured Replies

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:

 

Hs5gIvr.jpeg

 

Docker Settings:

 

4ZLiAOP.jpeg

 

When I select one of the custom network settings in the container settings, I can no longer reach the container.

 

VnGF5lD.jpeg

 

Ideally, I would like a second internal Docker network that then performs NAT on my second network adapter.

  • Author

no one with a hint?

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 by Vr2Io

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.