We use LibreNMS locally on the network with a hostname like librenms.company.lan. We have a remote access software that creates a secure tunnel to the network that proxies the web traffic to the server using the localhost and unique port number such as https://localhost:10620. We can browse and view some pages, but most of the links are coded with the set hostname that only works inside the LAN.
Is there a way to have it create the links leaving out the base part of the URL so a link like this:
https://librenms.company.lan/device/device=1/tab=port/port=2298
would just link the relative path like this:
/device/device=1/tab=port/port=2298
This would allow the links to work no matter if we’re using the internal URL or the remote access “localhost: port” URL.
Any assistance would be greatly appreciated!!!
Thank you.