neebski Posted November 14, 2019 Share Posted November 14, 2019 I have several containers that I need to have their own IPs in order to route them through my routers VPN, all other traffic is fine to go over standard network. Unfortunately I've noticed that the dockers that are using br0 are unable to communicate with each other thus I'm not able to use nginx to route to these containers. What is the best way of doing this? I'm sure further information will be needed but please let me know where to start. Thank you! 1 Quote Link to comment
fluisterben Posted November 14, 2019 Share Posted November 14, 2019 (edited) You need to run a docker main config like this; network create macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=br0 mymcvlannet and then, something like this in the run line; docker run --net mymcvlannet --ip 192.168.1.111 That way your container should have its served ports blank on that .111 LAN IP, so you don't have to run strange proxy-setups. Only problem is, I have no idea where to put this in unRAID GUI. Edited November 15, 2019 by fluisterben 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.