It works fine, but I think I should fix the config.
The problem starts with trying to monitor servers behind NAT, I created port forwarding to one local server. My plan is to make:
master<>satelite (local network, behind NAT)<>agents (other local hosts)
I already tried creating zone for local servers:
zones.conf
Satelite has 2 connections, default GW has non static IP, on master I have firewall that allows only specific IPs. I use the static IP, but that’s not a problem. I cannot sync zones. Satelite has parent zone master, local zone “Behind-NAT”. What zone do I set on agents behind satelite? Currently I have parent “Behind-NAT” local “Agent1”. Should I change all Agents zones to parent “master”, local “Behind-NAT”?
Thanks a lot, it worked.
Zones, Endpoints are used to define structure from master <> satelites <> agents.
My current config is master <> satelite (host in local network) <> agents
zones.conf
object Zone "Behind-NAT"{
endpoints = ["server1"]
}
object Endpoint "server1"{
host = "public ip"
port = "forwarded port"
}