OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Marco98 on November 22, 2020, 03:11:31 PM

Title: Inbound NAT keep source address
Post by: Marco98 on November 22, 2020, 03:11:31 PM
Hi,
i've migrated my Infrastructure to OPNsense.
Im trying to configure a Destination NAT rule, that shuld look like this:


interface: wan
proto: udp
src-ip: any
src-port: any
dst-port: "WAN address"
dst-port: 123
redir-address: "WAN address"
redir-port: 51820

This should provide an alternative port for incoming Wireguard-Roadwarrior connections (WAN).
However i cannot configure that configuration i had previously cause of the following issues:

Is there any way to just redirect the dst-port without rewriting the destination-address or can i set the redir-address automatically to the current WAN address?
Many thanks for any suggestions