SRX Services Gateway
Highlighted
SRX Services Gateway

Destination-NAT with DDNS

‎12-03-2015 11:03 PM

Hi All

 

Does anyone knnow if this is possible? 

I have DDNS setup and working fine. I then reference in my destination nat statement the hostname (SRX then resolves the IP) and the puts the IP address in the destination-nat field

 

When the IP changes, DDNS works, but the destination nat IP remains the same.

 

Is there a solution to fix this?

 

 

Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too
1 REPLY 1
SRX Services Gateway

Re: Destination-NAT with DDNS

‎12-03-2015 11:10 PM

The easiest method I know is specifying 0.0.0.0/0 as destination-address in the DNAT rule. That way traffic to any IP matches the rule, that works fine if you have only one public IP address, which is typically the case if you use DDNS.