Share:
Notifications
Clear all

One-to-One NAT rule on a Juniper SRX firewall

1 Posts
1 Users
0 Reactions
655 Views
(@paul0000)
Posts: 71
Trusted Member
Topic starter
 

To configure a One-to-One NAT rule on a Juniper SRX firewall:

# Create a NAT policy for one-to-one mapping
set security nat static rule-set 1 from trust to untrust rule 1 match source-address any destination-address 203.0.113.10
set security nat static rule-set 1 from trust to untrust rule 1 then source-nat interface
set security nat static rule-set 1 from trust to untrust rule 1 then destination-nat 203.0.113.10 to 192.168.1.10

 

This rule tells the SRX firewall to forward any incoming traffic for 203.0.113.10 (the public IP) to the internal IP 192.168.1.10

 
Posted : 23/11/2024 3:25 pm
Share: