bashclub / checkmk-opnsense-agent

65 stars 14 forks source link

how to setup encrypted connection to server #50

Open unclesam87 opened 1 month ago

unclesam87 commented 1 month ago

hey thanks for ur work, but i am confused: how do i setup an encrypted connection to my checkmk server?

kohly commented 3 days ago

at least, if nothing other works: deny access to 6556/tcp on any if but lo and create a rule for agent access by "ssh 'telnet localhost 6556'

doctore74 commented 3 days ago

at least, if nothing other works: deny access to 6556/tcp on any if but lo and create a rule for agent access by "ssh 'telnet localhost 6556'

I would use nc instead of telnet.

doctore74 commented 3 days ago

hey thanks for ur work, but i am confused: how do i setup an encrypted connection to my checkmk server?

Not possible AFAIK

kohly commented 3 days ago

hey thanks for ur work, but i am confused: how do i setup an encrypted connection to my checkmk server?

Not possible AFAIK

user@host:~$ ssh opnsense "sudo nc localhost 6556" | head <<>> AgentOS: OPNsense Version: 1.0.7 Hostname: opnsense LocalDirectory: /usr/local/check_mk_agent/local PluginsDirectory: /usr/local/check_mk_agent/plugins AgentDirectory: /usr/local/etc SpoolDirectory: /usr/local/check_mk_agent/spool <<>> 0.68 0.59 0.53 1/68 13145 2 ...