Same as in my response to your other question:
https://forums.juniper.net/t5/SRX-Services-Gateway/Source-Nat-options/m-p/329354#M49964
rule to-any-destination {
match {
source-address 10.0.0.0/8;
}
then {
source-nat {
interface;
}
}
}
Also
In NATconfigurations you can use ONLY IP addresses.
You can use IP address that you configured in global address book.
config will be:
set security address-book global address Example-destination 8.8.8.8/8
rule to-any-destination {
match {
source-address 10.0.0.0/8;
destination-address-name Example-destination;
}
then {
source-nat {
interface;
}
}
}
NAT rule will not accept DNS name from global address book.
Regards
Leon Smirnov
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too