Jump to content

Give Container Unique IP (and MAC address?) w/ Second NIC


Recommended Posts

My firewall (Firewalla Purple) very elegantly lets me put devices on my network behind VPN.  I'd like to do that with a specific container on my Unraid server that requires port forwarding (Channels DVR).  The Firewalla seems to get confused when two IP addresses share the same MAC addresses.  I've purchased a second NIC, but my first run at enabling it screwed things up.  How would I assign that NIC/interface to a specific container with its own IP and MAC addresses?  Should I be doing this with macvlan (something I've never setup)?  

 

Yes, I accomplished something similar with binhex-delugevpn, including port forwarding through the VPN provider, but for some odd reason it was very slow and flaky.

 

Link to comment

I saw that guide.  It seems to anticipate that I put my entire Docker stack on the second NIC.  I'm not sure what happens then.  Would all of those containers be on a new IP address?  I'll have to make a lot of changes to my Swag configuration files if that's true (the container names never worked for me).  I was kind of hoping that I could just put this one container on a new IP (192.168.1.301), and leave everything else where it is (various ports on 192.168.1.300).

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...