OPNsense Forum

English Forums => General Discussion => Topic started by: Isabella Borgward on May 07, 2026, 04:03:04 PM

Title: Translating source and destination IP in one "hit"
Post by: Isabella Borgward on May 07, 2026, 04:03:04 PM
OpnSense 25.10.
I have an unreliable 4G router on one WAN and reliable internet on the other.
I am outside the firewall.
I want a NAT policy that gives me access to 4G router's web interface via the reliable WAN.
For this to work, it needs to translate the source and the destination IP when I make the connection but I don't see a way to do this in the OpnSense web interface.
Can this be done somehow?
Title: Re: Translating source and destination IP in one "hit"
Post by: viragomann on May 07, 2026, 04:17:18 PM
Translation of destination IP is done by Destination NAT (or port forwarding in former versions).
Translation of source IP is done by Source NAT (or outbound NAT).
So you need a rule in each of them.