OPNsense Forum

English Forums => General Discussion => Topic started by: LeLLa on January 02, 2024, 11:28:34 AM

Title: MultiWan Setup no nat reflection
Post by: LeLLa on January 02, 2024, 11:28:34 AM
Hello,
i have a problem with muli wan setup.

I have 2 Wan with /29 IP class.

I setup port forwarding and outbound nat but there is an issue with incoming connection from LAN to the server from his public IP.

In the atached diagram i explained better the setup.



The connection flow should be this if i want to connect to https://74.125.10.27:

PC 192.168.0.45/24 ---> WAN_A1 --> internet --> WAN_B2 --> https://74.125.10.27 --> https://192.168.0.201

At the moment this is now working since the firewall know that the public server IP is on the wan and it's not routing correctly.

I tried to use Unbound to do a DNS override but it's not working like i want.

Title: Re: MultiWan Setup no nat reflection
Post by: LeLLa on January 02, 2024, 11:33:35 AM
Firewall advanced settings port reflection
Title: Re: MultiWan Setup no nat reflection
Post by: LeLLa on January 02, 2024, 11:49:27 AM
I found this

https://docs.opnsense.org/manual/how-tos/nat_reflection.html#reflection-and-hairpin-nat

i will check if this helps