Trouble putting ntopng behind reverse proxy

Started by kuzi, December 02, 2021, 04:33:06 PM

Previous topic - Next topic
Hi all,

I'm pretty new to OPNsense, having just installed it a few weeks ago. So far my experience has been great, with the number of options and features way better than my ISP-provided router.

I have been slowly exploring the various features and recently setup ntopng. Since I already have a reverse proxy server setup (Caddy) for other services I host for easy SSL setup.

I have setup Caddy to reverse proxy my router ip and the default ntopng port (3000) to a domain address (ntpong.example.com). However when I access ntopng.example.com, I get the OPNsense login (or rather I got the DNS rebind warning page). I figured for grins and giggles I'll add the domain as an alias domain to OPNsense just in case, but then I'm just brought to the OPNsense login, and not to ntopng.

It's entirely possible there is some sort of configuration or setting I'm missing in Caddy that is causing this, but I am not that proficient with either Caddy or OPNsense and this hasn't happened before so I thought I would start here.

Any help is appreciated, thank you!

Does the domain resolve to the public or private IP of your Caddy server?

Shoot, I totally forgot to make a DNS entry for the new domain :facepalm:. Thanks for the help!