Open Poueck opened 1 year ago
It appears that iptables links are set to legacy instead of nft.
I updated the ovpn_run script with "iptables-nft" instead of "iptables" and it is working.
Hello, I've the same issue, but when I set "iptables-nft" instead of "iptables" This error occurs : iptables: Failed to initialize nft: Protocol not supported
Hello, I've the same issue, but when I set "iptables-nft" instead of "iptables" This error occurs : iptables: Failed to initialize nft: Protocol not supported
Does iptables installed on the host ?
yes
yes
And the container have the --cap-add=NET_ADMIN ?
Yes, I use the recommended docker-compose file, and on the host, iptables is in nft mode....
Had the same issue, when using the public kylemanna/openvpn
image in my compose file (as instructed in docs/docker-compose.md).
However, when building the image myself from the master branch (1228577), the issue is gone. Maybe some fixes did not go into the public image yet.
NAT functionnality doesn't work on AlmaLinux 9 (kernel 5.14.0-162.12.1.el9_1.x86_64):
On the host, iptables v1.8.8