From 04656ffc20941c8df80f9d8697f30f7b8716036c Mon Sep 17 00:00:00 2001
From: turletti <turletti@gmail.com>
Date: Sun, 24 Mar 2024 15:48:42 +0100
Subject: [PATCH] add enable_snat configuration

---
 charts/oai-5g-core/oai-5g-basic/config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/charts/oai-5g-core/oai-5g-basic/config.yaml b/charts/oai-5g-core/oai-5g-basic/config.yaml
index 2dcde066..870f842f 100644
--- a/charts/oai-5g-core/oai-5g-basic/config.yaml
+++ b/charts/oai-5g-core/oai-5g-basic/config.yaml
@@ -172,7 +172,7 @@ smf:
 upf:
   support_features:
     enable_bpf_datapath: no    # If "on": BPF is used as datapath else simpleswitch is used, DEFAULT= off
-    enable_snat: yes           # If "on": Source natting is done for UE, DEFAULT= off
+    enable_snat: @ENABLE_SNAT@           # If "on": Source natting is done for UE, DEFAULT= off
   remote_n6_gw: 127.0.0.1      # Dummy host since simple-switch does not use N6 GW
   upf_info:
     sNssaiUpfInfoList:
-- 
GitLab