Community discussions

MikroTik App
 
lefterissim
just joined
Topic Author
Posts: 10
Joined: Sun Jan 07, 2024 12:13 pm

Uptime-kuma firewall rules

Sun Mar 10, 2024 10:43 am

Hi all,
I have setup uptime kuma in a container with ip 172.16.1.3 and gateway 172.16.1.1 i have created several monitoring sensors and works fine.
The container is running in a different bridge than my main bridge(192.168.88.1/24).
My problem is when i want to make a sensor with ping an ip address from my main bridge lets say 192.168.88.253 the sensor cant ping it.
I know is firewall rule issue but i dont know how to solve this.
What firewall rule i must create to accept uptime kuma in my main subnet.
Thanks a lot.
 
User avatar
inteq
Member
Member
Posts: 412
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Uptime-kuma firewall rules

Sun Mar 10, 2024 12:14 pm

Instead of bridge, try host.
 
lefterissim
just joined
Topic Author
Posts: 10
Joined: Sun Jan 07, 2024 12:13 pm

Re: Uptime-kuma firewall rules

Sun Mar 10, 2024 12:39 pm

By host what you mean? To run the veth container in different way?in uptime Kuma in host I put the IP I want if that you mean
 
User avatar
inteq
Member
Member
Posts: 412
Joined: Wed Feb 25, 2015 8:15 pm
Location: Romania

Re: Uptime-kuma firewall rules

Sun Mar 10, 2024 1:21 pm

172.16.1.3 is on a bridge, separated by your local lan.
Docker has bridge and host as networks. Maybe others but that is all I know.
Set uptime-kuma on host network. That will be using the same IP as your docker machine and you will access it by adding :3001 at the end of your IP
See https://docs.docker.com/network/drivers/host/

Who is online

Users browsing this forum: Google [Bot], own3r1138 and 36 guests