Skip to content

Instantly share code, notes, and snippets.

@phil21
Created April 18, 2016 22:12
Show Gist options
  • Save phil21/9cab503d255c97f90dd235d790a0523b to your computer and use it in GitHub Desktop.
Save phil21/9cab503d255c97f90dd235d790a0523b to your computer and use it in GitHub Desktop.
[edit]
root@srx3600n0# show security nat
static {
rule-set Static-NAT {
from zone untrust;
rule FTP-v4 {
match {
destination-address 198.18.5.6/32;
}
then {
static-nat {
prefix-name {
FTP-Server-v4-172.16.1.6/32;
}
}
}
}
rule FTP-v6 {
match {
destination-address 2001::6/128;
}
then {
static-nat {
prefix-name {
FTP-Server-v6-fec0::AC10:0106/120;
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment