linguard
linguard copied to clipboard
/usr/sbin/iptables is mapped to container's iptables
Describe the bug
/usr/sbin/iptables
is mapped to container's iptables, so it adds iptables rules to container's, they aren't added to host's iptables, and so the routing does not work. I found a workaround by making it use /usr/sbin/iptables-legacy
instead.
I think the solution would be to use a different base image.
To Reproduce Steps to reproduce the behavior:
- Create new server
- See iptables rule not being added to host's iptables
Server:
- OS: Alpine 3.15