Trying to port forward Web-GUI with OPNsense

hpm65

Cadet
Joined
May 5, 2021
Messages
7
I'm trying to port forward the TrueNAS Web-GUI to make it accesible just loading the OPNsense WAN address through the web browser, but when I port forward I can't access the Web-GUI. Can someone help me?
(P.D.: I was able to port forward my LNMP web hosting control panel without any problem, so is not OPNsense configuration problem, it is TrueNAS problem...)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
it is TrueNAS problem
It is a websockets "problem".

You really shouldn't be doing that in any case if you care about security, but if you're going to, you'll need to do it via a reverse proxy that can handle websockets (which would also be an opportunity to implement some kind of security challenge in front of it).
 

hpm65

Cadet
Joined
May 5, 2021
Messages
7
This whole network scenario is for testing purposes only, ... I am a newbie to all of that, Squid is a websocket proxy (right)?
 
Last edited:

hpm65

Cadet
Joined
May 5, 2021
Messages
7
Okey so, using HAProxy, how can I make posibble accesing TrueNAS GUI through the firewall WAN interface?
When I go to 192.168.1.101 (OPNsense WAN interface) I want to forward the TrueNAS GUI (192.168.32.102), but I still don't know how to :(
 
Top