OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: ezoxu on December 05, 2018, 10:50:26 am

Title: Nginx plugin: SSL passthrough
Post by: ezoxu on December 05, 2018, 10:50:26 am
Hello, everyone.
I've set up opnsense at home not long ago, and i have to say - it's quite an interesting and functional piece of software. Though i've encountered few issues.

I have a small infrastructure at home - ye, i like those things :) and i serve few services for me and my family to be accessed from anywhere.
The issue with SSL - i need to set up one service to be handling SSL on its own, and nginx to just pass through HTTPS connection to the internal server.
Other ones are served by opnsense, and that one i've set up.
However, i can't seem to set nginx plugin just to pass through secured connections.
Has anyone ever managed to do that?

PS: I've searched before asking, and could not find anything, but if i'm blind - i would appreciate a link XD
Title: Re: Nginx plugin: SSL passthrough
Post by: fabian on December 05, 2018, 05:10:25 pm
This works since the plugin version 1.4 using the streams but you cannot mix stream ports with standard HTTPS ports.
v1.4 is only available as a developer preview and 1.5 will be very likely in the next release.
Title: Re: Nginx plugin: SSL passthrough
Post by: ezoxu on December 06, 2018, 06:49:55 am
Thank you.
It seem to be possible with nginx in general, but UI does not allow me to configure vhosts manually. Guess i'll just set it up the other way.

Title: Re: Nginx plugin: SSL passthrough
Post by: fabian on December 06, 2018, 05:18:22 pm
you only need to wait for nginx plugin version 1.5 or use 1.4 devel on opnsense-devel.