The example is using interface not zone as the match. And I assume since you are reference reth1 this should also be interface and not reth1z
But if you do want to reference zones then there is a dash in the command to-zone
set security nat source rule-set r1 to-zone reth1z
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 06-03-2024 13:49
From: Jeff Silberberg
Subject: Using SRX345 -- Example in Document Revise 12/2023 does not work --
I am referencing the manual NAT user Guide
Page 253, Step 7of the example the second line and third line error out no To.
set security nat source rule-set r1 to zone reth1z
error: syntax error: to
If I walk this through the prompting (?) it also does not indicate a to option as available.
Any help/direction in understanding the example would be appreciated.
https://www.juniper.net/documentation/us/en/software/junos/nat/nat.pdf
------------------------------
Jeff Silberberg
------------------------------