OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: shade_ch on January 29, 2025, 12:26:57 PM

Title: Guidelines request: moving from NAT to reverse proxy configuration
Post by: shade_ch on January 29, 2025, 12:26:57 PM
Hello,

Here is my context:

Now I need to do the following:


So my question is: how do I have to configure Opnsense to achieve this ?

My guess is that I will need to install a reverse proxy plugin on Opnsense, however...:


Note: The DNS is already pointing meet.newdomainname.com to my WAN IP.

Thanks in advance for your help !

Michel
Title: Re: Guidelines request: moving from NAT to reverse proxy configuration
Post by: meyergru on January 29, 2025, 12:43:27 PM
The choice for a specific reverse proxy is up to you, the criteria have been discussed before. HAproxy is a little more complex to setup with more room for errors than Caddy, but offers more flexibility. Otherwise, they can do much the same thing - i.e. redirect name-based HTTP(S) requests to internal IPs and provide TLS termination.

For both plugins, there are detailed setup guides in the tutorial section, including all the aspects you asked for.
Title: Re: Guidelines request: moving from NAT to reverse proxy configuration
Post by: shade_ch on January 29, 2025, 04:50:42 PM
Quote from: meyergru on January 29, 2025, 12:43:27 PMFor both plugins, there are detailed setup guides in the tutorial section, including all the aspects you asked for.

Thank you, installed Caddy according to the documentation and indeed the configuration was straightforward (ways easier compared to nginx).