Static destination IP translation
-
Hi,
Im want to setup a destination with pool so I can translate 172.16.10.0/24 to 10.0.0.0/24. For example: destination 172.16.10.5 get translated to 10.0.0.5 and destination 172.16.10.20 gets translated to 10.0.0.20 and so forth. I tried using outbound NAT, but this only translates the source IP.
Does Anyone have an idea how i can achieve this?
-
https://doc.pfsense.org/index.php/1:1_NAT
-
Thanks for the reply!
I tried that before and it did not work , see attachments.
The translation doesnt seem to happen.
msnetwork is the external intefac btw
-
No idea what's that second screenshot supposed to mean. It matches none of the 1:1 subnets, what exactly should get translated there?!
-
On what interface and in what direction do you want the destination translated?
-
Can you translate the outside local to outside global (cisco speak) address in pfSense?
Meaning if I have:
Host A1: 172.26.0.100
pfSense LAN: 172.26.0.1
pfSense WAN: 172.27.0.5
Host A1 attempts a connection to 10.0.0.5. Can pfSense translate that destination address from 10.0.0.5 to 172.16.10.5, while also translating the source address from 172.26.0.100 to 172.27.0.5 on its way out WAN?
-
I want the NAT translation to take place on the WAN interface. Basically i want the following to happen:
LAN Subnet 10.0.0.0/24
HostB on LAN: 10.0.0.5
HostC on LAN: 10.0.0.10WAN subnet: 192.168.190.0/24
WAN interface:192.168.190.10
HostA on WAN:192.168.190.20Host A has a static route to 172.16.10.0/24 with next hop 192.168.190.10
Host A attempts to connect with HostB on 172.16.10.5, pfsense(192.168.190.10) translates the destination to 10.0.0.5. HostB sends a reply back to 192.168.190.20(hostA) with source 10.0.0.5, pfsense(192.168.190.10) translates the source to 172.16.10.5.
Host A attempts to connect with HostC on 172.16.10.10, pfsense(192.168.190.10) translates the destination to 10.0.0.10. HostC sends a reply back to 192.168.190.20(hostA) with source 10.0.0.10, pfsense(192.168.190.10) translates the source to 172.16.10.10.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy