Hi everyone,
I’m currently running Unraid with Docker containers and have recently enabled ACLs (Access Control Lists) on all my UniFi switches. After enabling ACLs, I noticed an issue: my Docker containers on Unraid aren’t getting the correct gateway. This is likely because they have static IPs instead of using DHCP.
Here’s my setup:
- Unraid is configured with a Docker VLAN, and all traffic on this VLAN goes through a VPN (configured in UniFi). This is important, and I want to maintain this configuration.
- I also use Proxmox for other VMs/LXCs, where I can easily set a gateway for each instance. However, I can’t find a similar option for Docker containers in Unraid.
Questions:
- Is there a way to configure static IPs for Docker containers in Unraid that includes setting the correct gateway?
- Alternatively, should I modify the ACL or firewall rules in UniFi to ensure the Docker VLAN traffic routes correctly?
- What would be the best and most secure solution to keep everything functioning smoothly, especially ensuring that all traffic from the Docker VLAN continues through the VPN?
Any advice or guidance would be greatly appreciated! Thank you!