ok I think i setup everything correctly but it still does not want to work for me. I am getting translation hits but nothing is working. I am trying to run some traceoptions but I cannot figure out what needs to be set.
Below is my static nat setup and below that is my policy
rule-set MAG-DMZ {
description MAG2600;
from zone untrust;
rule Mag-rul {
match {
source-address 0.0.0.0/0;
destination-address 64.62.163.104/32;
}
then {
static-nat {
prefix {
10.101.2.65/32;
}
}
}
}
}
}
policy Internet-to-Mag {
match {
source-address any;
destination-address MAG-10.101.2.65/32;
application any;
}
then {
permit;
}
}
}
Output of traslation hits
root@FMT-SRX01> show security nat static rule all
Total static-nat rules: 1
Total referenced IPv4/IPv6 ip-prefixes: 2/0
Static NAT rule: Mag-rul Rule-set: MAG-DMZ
Rule-Id : 2
Rule position : 1
From zone : untrust
Source addresses : 0.0.0.0 - 255.255.255.255
Destination addresses : 16.162.13.104
Host addresses : 10.101.2.65
Netmask : 32
Host routing-instance : N/A
Translation hits : 66
Successful sessions : 4
Number of sessions : 0
root@FMT-SRX01>