Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Multi-wan and port-forward to one server
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multi-wan and port-forward to one server (Read 2029 times)
ying18
Newbie
Posts: 7
Karma: 0
Multi-wan and port-forward to one server
«
on:
February 02, 2021, 02:58:53 pm »
Hello, yes two connections have their own ip let's say 1.2.3.4 and 5.6.7.8 and the server 192.168.0.1. I want that fw-wan-1 port-forward pubip1 1.2.3.4:80 to server 192.168.0.1:80 and that fw-wan-2 port-forward pubip2 5.6.7.8:80 to the same server 192.168.0.1:80
Port forward works but reply packets are sent to only fw-wan-2. I want that server's reply to incoming connection from fw-van-1 go to fw-wan-1 and that reply from incoming connection from fw-wan-2 go to fw-wan-2.
In other words: i want some services (http or smtp for example) to be reachable from two different public ips coming from two isp but served by the same server.
เกมสล๊อต
Logged
thebull
Newbie
Posts: 23
Karma: 1
Re: Multi-wan and port-forward to one server
«
Reply #1 on:
June 03, 2021, 10:19:48 am »
Spend some time into this, the solution to have both WAN address responding to the internet. For example host one webserver on 2 WAN connections. Its related to one single note under the NAT help, you need to use "add associated fw rule" instead of pass. That option became visible when you disable the generic settings as in the screenshot. Only visible with new rules.
NOTE: The "pass" selection does not work properly with
Multi-WAN
. It will only work on an interface containing the default gateway.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Multi-wan and port-forward to one server