Open jaybauson opened 3 years ago
I also have this issue. Container is connected to a macvlan network if that makes a difference.
Edit: I found my solution here: https://github.com/kylemanna/docker-openvpn/issues/564. Seems to be related to Centos 8 (which my host machine is running).
I had to add the "mknod" to --cap-add as followed:
--cap-add=NET_ADMIN,mknod
Furthermore, on my system (CentOS / RockyLinux) I had to run the following on the host:
sudo modprobe iptable_filter
sudo modprobe iptable_nat
@BKhenloo fix worked for me, thanks!
I enabled the DEBUG mode since the service isn't running. Does anyone know how to fix this issue? `+ iptables -t nat -C POSTROUTING -s 192.168.255.0/24 -o eth0 -j MASQUERADE
nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.