linguard icon indicating copy to clipboard operation
linguard copied to clipboard

/usr/sbin/iptables is mapped to container's iptables

Open RShadowhand opened this issue 3 years ago • 0 comments

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:

  1. Create new server
  2. See iptables rule not being added to host's iptables

Server:

  • OS: Alpine 3.15

RShadowhand avatar Feb 07 '22 16:02 RShadowhand