Skip to content

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

@hack3rcon

Description

@hack3rcon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions