OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: LuxWorldPC on August 26, 2022, 12:10:10 PM

Title: NAT all ports form virtual WAN IP to server on LAN
Post by: LuxWorldPC on August 26, 2022, 12:10:10 PM
Hello,
I have multiple public IP's on my WAN
I have multiple local servers on my LAN
Single port forwarding ex. 80/443 works fine for each sever on the correct Virtual IP
But I need to have all ports on each Virtual IP go to all same ports on local server
Am new with opnsense      on Sophos UTM I had a signe DNAT rule
many thx for help  if possible with an short example
François
Title: Re: NAT all ports form virtual WAN IP to server on LAN
Post by: Maurice on August 26, 2022, 02:43:53 PM
Create One-to-One NAT rules (one rule per server). 'Interface' is WAN, 'External network' is the public virtual IP, 'Source' is the private IP of the server (/32).

Cheers
Maurice
Title: Re: NAT all ports form virtual WAN IP to server on LAN
Post by: LuxWorldPC on August 26, 2022, 06:03:10 PM
many thanx    works perfectly