Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Multi Wan IP - Single Server Multiple Websites - Outbound Nat Question
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multi Wan IP - Single Server Multiple Websites - Outbound Nat Question (Read 1074 times)
ChrisOpn
Newbie
Posts: 2
Karma: 0
Multi Wan IP - Single Server Multiple Websites - Outbound Nat Question
«
on:
June 27, 2022, 05:32:56 am »
I have 5 external WAN IPs (1.1.1.1-1.1.1.5) that I've added to the Virtual IPs. My internal server (10.1.1.5) has several different websites that need to be binded to those virtual IPs so that each can use ports 80 and 443. The port forwarding rules are setup but I'm figuring that I either need to Nat 1:1 or do a Nat Outbound. I've tried several attempts at setting up a hybrid nat outbound but without success. I'm hoping some of you pros out there know how to successfully set this up. My last attempt with outbound was:
interface: Wan
source: 10.1.1.5
translation/target: 1.1.1.5
I've also tried destination address and ports for 80/443. I'm new at this so I'm a bit confused on how to accomplish this task.
Logged
bimbar
Sr. Member
Posts: 437
Karma: 25
Re: Multi Wan IP - Single Server Multiple Websites - Outbound Nat Question
«
Reply #1 on:
June 27, 2022, 10:23:44 am »
I would recommend using haproxy or nginx for that and not NAT.
Logged
ChrisOpn
Newbie
Posts: 2
Karma: 0
Re: Multi Wan IP - Single Server Multiple Websites - Outbound Nat Question
«
Reply #2 on:
June 27, 2022, 01:31:07 pm »
Thanks Bimbar I will look into those today! When I get it figured out I'll post back in here with my solution to hopefully help someone else out having this same issue.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Multi Wan IP - Single Server Multiple Websites - Outbound Nat Question