Howdy,
I have been searching for a while (without no result, unfortunately) on how to establish a connection between my server and my agentd by using a SSH tunnel.
The Zabbix server itself stands behind a router/firewall, so it would be easier to let this system establish all connections between the two systems.
For the SSH tunnels, I use autossh:
and
In the agent's config, I specified 127.0.0.1 as the server's address, so all traffic should be directed to the tunnel and from there to the server. But I just don't get a connection. The log shows "Listener failed with error: zbx_tcp_listen() Fatal error: unable to serve on any address. [[127.0.0.1]:10050]."
What am I doing wrong? Help would be really appreciated.
Best regards,
Jimini
I have been searching for a while (without no result, unfortunately) on how to establish a connection between my server and my agentd by using a SSH tunnel.
The Zabbix server itself stands behind a router/firewall, so it would be easier to let this system establish all connections between the two systems.
For the SSH tunnels, I use autossh:
autossh -M 33333 -N 10050:localhost:10050 -f [email protected]
autossh -N -M44444 -R 10051:localhost:10051 -f [email protected]
What am I doing wrong? Help would be really appreciated.
Best regards,
Jimini

Comment