Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Reverse proxy configuration help needed
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reverse proxy configuration help needed (Read 1420 times)
romanab1
Newbie
Posts: 1
Karma: 0
Reverse proxy configuration help needed
«
on:
February 26, 2021, 11:03:42 am »
Dear All,
I have an IIS server running on VM (hostname- VM06) and locally accessible via -
https://sitea.vm06lan.com
https://siteb.vm06lan.com
or
https://sitec.vm06lan.com
IIS has configured for multiple sites.
Now I want to access this server from the internet via
https://sitea.mydomain.com/
https://siteb.mydomain.com/
https://sitec.mydomain.com/
What should be the easy way to configure Reverse proxy : haproxy or nginx? is there any setp by step document with screenshot or video available to configure Reverse proxy into OPNSense?
Logged
smyers119
Newbie
Posts: 39
Karma: 2
Re: Reverse proxy configuration help needed
«
Reply #1 on:
February 26, 2021, 02:31:51 pm »
Only if there was a place you could look uo the
documentation
for opnsense....
Logged
ThyOnlySandman
Jr. Member
Posts: 85
Karma: 4
Re: Reverse proxy configuration help needed
«
Reply #2 on:
February 28, 2021, 08:19:07 am »
One of my posts here lays out the 4 components that need to be configured using NGINX. All my examples though are for the backend apache being unencrypted. NGINX having TLS /certs forwarding to backend on 80.
https://forum.opnsense.org/index.php?topic=21686.0
What you need to determine is how SSL is to be configured.
Given you mentioned its accessed via https internally I'm figuring you have cert/TLS on IIS.
If so your upstream should have the TLS enabled & Location w/ HTTPS only.
The upstream server specifying IP and 443 (assuming your IIS port?)
Then you need to look at the NGINX http server. Will have TLS enabled too or just listen on 80 without TLS/cert? In one of my examples I show HTTP server w/ TLS/cert. Just following the matching associations.
You may also need to see if IIS requires anything to be done with header / URL re-write.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Reverse proxy configuration help needed