Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RShadowhand opened this issue Feb 7, 2022 · 0 comments
Open

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

RShadowhand opened this issue Feb 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RShadowhand
Copy link

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 RShadowhand added the bug Something isn't working label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant