I've been using domoticz for a while now. I usually find my solution of the forum. but this time I'm stuck.
Consider an external VPS where subdomains are pointing to the ip adress of the VPS.
Consider a powerful proxmox server that instanciate several VM's: pf sense, domoticz(of course) as a debian vm and an ssh gateway (debian instance).
the ssh gateway makes the mapping between the subdomains pointing to the local applications behind a firewall and all on the same subnet.
The public ssh key (of the ssh gateway) was sucessfully copied to the vps and the following command:
Code: Select all
sudo autossh -f -N -M 0 domoticz[dot]mydom[dot]com -l root -o "PubkeyAuthentication=yes" -o "PasswordAuthentication=no" -o ServerAliveCountMax=15 -o ServerAliveInterval=100 -o ExitOnForwardFailure=yes -R 8888:192[dot]168[dot]1[dot]D:8080 "sleep 9000h"
I didn't have this problem on a 2018 domoticz version running on raspberry pi.
I'd happy if you can help me out on this.
Best regards,
/Tony