Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Forward the same port to two different systems
« previous
next »
Print
Pages: [
1
]
Author
Topic: Forward the same port to two different systems (Read 2812 times)
amd.64
Newbie
Posts: 21
Karma: 0
Forward the same port to two different systems
«
on:
July 07, 2023, 06:02:25 am »
I have an Exchange server and now a webserver on the same network, both use 443 for HTTPS.
I have a block of five static IPs from my ISP. Is it possible to have the Exchange server coming in on 443 on one public IP and the webserver coming in on 443 on another public IP?
Logged
Patrick M. Hausen
Hero Member
Posts: 6794
Karma: 570
Re: Forward the same port to two different systems
«
Reply #1 on:
July 07, 2023, 07:59:09 am »
Of course.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
amd.64
Newbie
Posts: 21
Karma: 0
Re: Forward the same port to two different systems
«
Reply #2 on:
July 07, 2023, 09:23:29 pm »
How is this done?
Logged
zz00mm
Newbie
Posts: 40
Karma: 2
Re: Forward the same port to two different systems
«
Reply #3 on:
July 08, 2023, 03:12:40 am »
Wan/NAT forward for each of the IP's to the destination host.
Logged
amd.64
Newbie
Posts: 21
Karma: 0
Re: Forward the same port to two different systems
«
Reply #4 on:
July 08, 2023, 04:58:52 am »
As my domain available which makes my IP address' easily obtainable, I am posting a picture of two of the port forward rules. I believe I have them configured correctly but they still do not work.
If I remove the public IP address from Destination Address and replace it with Comcast Address, just like the other port forward rules they work just fine.
Logged
amd.64
Newbie
Posts: 21
Karma: 0
Re: Forward the same port to two different systems
«
Reply #5 on:
July 10, 2023, 06:22:04 am »
Ok so I have partially figured this out. I need to create virtual IPs.
Problem now is that port 443 is forwarded to the mail server no matter if the url typed into a web browser. IE if the user types in
www.mydomain.us
or mydomain.us both are forwarded to the mail server even though it is mail.mydomain.us
Port 80 is directed to the web server.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Forward the same port to two different systems