aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/nat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat/nat')
-rw-r--r--resources/templates/vat/nat/nat44_deterministic_forward.vat1
-rw-r--r--resources/templates/vat/nat/nat44_deterministic_reverse.vat1
-rw-r--r--resources/templates/vat/nat/nat44_set_deterministic.vat1
-rw-r--r--resources/templates/vat/nat/nat44_set_interfaces.vat1
-rw-r--r--resources/templates/vat/nat/nat_set_workers.vat1
-rw-r--r--resources/templates/vat/nat/nat_show_nat.vat1
-rw-r--r--resources/templates/vat/nat/snat_interface_dump.vat1
-rw-r--r--resources/templates/vat/nat/snat_mapping_dump.vat1
8 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/nat/nat44_deterministic_forward.vat b/resources/templates/vat/nat/nat44_deterministic_forward.vat
new file mode 100644
index 0000000000..a901398598
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_deterministic_forward.vat
@@ -0,0 +1 @@
+exec nat44 deterministic forward {ip}
diff --git a/resources/templates/vat/nat/nat44_deterministic_reverse.vat b/resources/templates/vat/nat/nat44_deterministic_reverse.vat
new file mode 100644
index 0000000000..614a2c0dfb
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_deterministic_reverse.vat
@@ -0,0 +1 @@
+exec nat44 deterministic reverse {ip}:{port}
diff --git a/resources/templates/vat/nat/nat44_set_deterministic.vat b/resources/templates/vat/nat/nat44_set_deterministic.vat
new file mode 100644
index 0000000000..39f3deeeb2
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_set_deterministic.vat
@@ -0,0 +1 @@
+exec nat44 deterministic add in {ip_in}/{subnet_in} out {ip_out}/{subnet_out}
diff --git a/resources/templates/vat/nat/nat44_set_interfaces.vat b/resources/templates/vat/nat/nat44_set_interfaces.vat
new file mode 100644
index 0000000000..f25961dbc2
--- /dev/null
+++ b/resources/templates/vat/nat/nat44_set_interfaces.vat
@@ -0,0 +1 @@
+exec set interface nat44 in {int_in} out {int_out}
diff --git a/resources/templates/vat/nat/nat_set_workers.vat b/resources/templates/vat/nat/nat_set_workers.vat
new file mode 100644
index 0000000000..1a4d48979d
--- /dev/null
+++ b/resources/templates/vat/nat/nat_set_workers.vat
@@ -0,0 +1 @@
+exec set nat workers {lcores}
diff --git a/resources/templates/vat/nat/nat_show_nat.vat b/resources/templates/vat/nat/nat_show_nat.vat
new file mode 100644
index 0000000000..52f723280d
--- /dev/null
+++ b/resources/templates/vat/nat/nat_show_nat.vat
@@ -0,0 +1 @@
+exec show nat verbose
diff --git a/resources/templates/vat/nat/snat_interface_dump.vat b/resources/templates/vat/nat/snat_interface_dump.vat
new file mode 100644
index 0000000000..b80db63d82
--- /dev/null
+++ b/resources/templates/vat/nat/snat_interface_dump.vat
@@ -0,0 +1 @@
+snat_interface_dump
diff --git a/resources/templates/vat/nat/snat_mapping_dump.vat b/resources/templates/vat/nat/snat_mapping_dump.vat
new file mode 100644
index 0000000000..7ac763b4f3
--- /dev/null
+++ b/resources/templates/vat/nat/snat_mapping_dump.vat
@@ -0,0 +1 @@
+snat_static_mapping_dump \ No newline at end of file