Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED]: Proxing two servers through OPNSENSE
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED]: Proxing two servers through OPNSENSE (Read 3532 times)
morcom
Newbie
Posts: 6
Karma: 2
[SOLVED]: Proxing two servers through OPNSENSE
«
on:
July 19, 2016, 04:02:46 pm »
Hi,
Thanks for nice product! It looks very promising...
I have a question related to possible use of HA Proxy.
Actually I have two Tomcat servers which I want to keep behind UTM.
So all traffic is monitored and eventually blocked if detected as intrusion attack.
One Tomcat server should be unsecured (server1) - second secured with SSL and login restrictions(server2). But - secured on Proxy level... eventually SSL on proxy level (I had that before working with Nginx).
Generally I want to use one WAN IP for this.
I have no issues to setup HAProxy using as frontend/backend to server1. Question is - is it possible to set up this in such a way that when calling port 80 - I would visit server1, but when calling port 443 with HTTPS - we would be redirected to server2?
I had this as well in Sophos UTM... I think is secured web services section - and it was looking like working solution. But not sure what I can do in Opnsense....
Thanks for any tips.
Michal...
«
Last Edit: July 19, 2016, 05:13:33 pm by morcom
»
Logged
morcom
Newbie
Posts: 6
Karma: 2
Re: Proxing two servers through OPNSENSE
«
Reply #1 on:
July 19, 2016, 05:13:09 pm »
Ok - looks like some firewalling issues.
Now works...
Mike
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED]: Proxing two servers through OPNSENSE
«
Reply #2 on:
July 19, 2016, 11:42:49 pm »
Hey Mike,
Welcome and thanks for checking back.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED]: Proxing two servers through OPNSENSE