Playing with the firewall on my PC, want to give a specific ip access to my pc (installing nagios on this machine, using docker), but when I go into firewall-config on my main PC, the “Interfaces” section is already called “docker0”, and, yes, I am using the Zone “home”.
Think I need to read more info on the firewall… but…
Why is the interface called docker0, and how do I give a pc on the network access to my pc? I DID think it was by going to “sources” and adding an IP address?
That’s normal. Docker creates a virtual bridge called docker0 for its own container network. It is not your actual network card like eth0 or enpXsY. So if you see docker0 under Interfaces in firewalld, it just means that zone is linked to Docker’s internal network, not your local network.
Assign your actual interface wlp0s20.. to the appropriate zone, then open the port Nagios is using. Adding a source IP alone won’t allow access unless the port is also open.
Some reading:
If you get stuck post again with more specific information, including the current firewall configuration details.