NAT external IP to internal one + port
I am migrating to iptables to Pfsense and I am trying to implement all the configuration to match.
To summarize, we have email filtering client that needs to pull out LDAP information from our AD server on our private network. Traffic sourced from the email client, destined to our public facing email server on port 389, needs to be translated to the private IP of our internal AD server, and again on port 389.
$IPTABLES -t nat -A PREROUTING -i eth0 -s <email service public IP> -d <public facing email server> -p tcp –dport 389 -j DNAT --to <private IP>:389
Do you have any idea on what needs to be configured in Pfsense to accomplish this. Thanks in advance