summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-02-19 15:19:09 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2025-02-20 14:06:28 +0000
commit13f99beada6ac28ede7c74d434b84a63bf9905b0 (patch)
tree740fcbe00148bb76e1edf90606d654f15e14c784 /data/templates
parent752b400aaf5520c29726dadfc94127a06e0ad5a9 (diff)
downloadvyos-1x-13f99beada6ac28ede7c74d434b84a63bf9905b0.tar.gz
vyos-1x-13f99beada6ac28ede7c74d434b84a63bf9905b0.zip
T7181: VPP add initial source NAT implentation
Add initial source NAT implementation ``` set vpp nat44 source inbound-interface 'eth2' set vpp nat44 source outbound-interface 'eth1' set vpp nat44 source translation address '192.0.2.1-192.0.2.2' ``` Add initial simple implementation of the source NAT In the future, we'll extend it to the rules if it is possible to do via VPP API
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/vpp/startup.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2
index cf10b6ce5..c3bfc2b51 100644
--- a/data/templates/vpp/startup.conf.j2
+++ b/data/templates/vpp/startup.conf.j2
@@ -94,8 +94,8 @@ plugins {
plugin pppoe_plugin.so { enable }
# NAT uncomment if needed
# plugin cnat_plugin.so { enable }
- # plugin nat_plugin.so { enable }
- # plugin nat44_plugin.so { enable }
+ plugin nat_plugin.so { enable }
+ plugin nat44_ei_plugin.so { enable }
# plugin nat44_ei_plugin.so { enable }
# plugin nat64_plugin.so { enable }
# plugin nat66_plugin.so { enable }