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

How do I restrict cAdvisor to the internal network? #306

Open
hack3rcon opened this issue Jun 16, 2024 · 0 comments
Open

How do I restrict cAdvisor to the internal network? #306

hack3rcon opened this issue Jun 16, 2024 · 0 comments

Comments

@hack3rcon
Copy link

Hello,
I installed cAdvisor on a web server, but I want only one specific IP address to be able to connect to port 8080. For this, I used the following iptables:

-A FILTERS -m state --state NEW -s 172.20.2.1/16 -m tcp -p tcp --dport 8080 -j ACCEPT

But it doesn't work. Why?

Thank you.

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