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

Duplicate rule in filter/DOCKER #5

Open
mweinelt opened this issue Nov 5, 2020 · 0 comments
Open

Duplicate rule in filter/DOCKER #5

mweinelt opened this issue Nov 5, 2020 · 0 comments

Comments

@mweinelt
Copy link
Owner

mweinelt commented Nov 5, 2020

domain ip {
	table filter {
		chain DOCKER {
			daddr 172.18.0.4/32 interface ! br-0d76ae4d7d21 outerface br-0d76ae4d7d21 proto tcp dport 8080 ACCEPT;
			daddr 172.18.0.4/32 interface ! br-0d76ae4d7d21 outerface br-0d76ae4d7d21 proto tcp dport 8080 ACCEPT;
			
		}
}

This is because there exist two mappings to the same internal port.

a40398c84d77        nginx:1.17-alpine                    "nginx -c /etc/netbo…"   3 months ago        Up About an hour    80/tcp, 0.0.0.0:8000->8080/tcp, 0.0.0.0:32768->8080/tcp   netbox_nginx_1

We should dedup by container.ip and mapping.internal_port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant