summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-07-08 15:04:23 +0100
committerGitHub <noreply@github.com>2025-07-08 15:04:23 +0100
commit6e07126620f75307704b9f6239c5d1f7c54af1e8 (patch)
treee4b57141de2f3be491de3cb99b1e10f5683c2f6a /data
parentfd58e0914d5f16d5c635c808834b9e38f6f3ac38 (diff)
parent5b0751423c3b2713d9a7f212e6c0c260ba53f0ce (diff)
downloadvyos-1x-6e07126620f75307704b9f6239c5d1f7c54af1e8.tar.gz
vyos-1x-6e07126620f75307704b9f6239c5d1f7c54af1e8.zip
Merge pull request #4592 from abhisheksafui/T7584_wan_lb_default_snat
wan-load-balancing: T7584: Default SNAT behaviour fixed to effect loa…
Diffstat (limited to 'data')
-rw-r--r--data/templates/load-balancing/nftables-wlb.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/load-balancing/nftables-wlb.j2 b/data/templates/load-balancing/nftables-wlb.j2
index b3d7c3376..8afd0c162 100644
--- a/data/templates/load-balancing/nftables-wlb.j2
+++ b/data/templates/load-balancing/nftables-wlb.j2
@@ -9,7 +9,7 @@ table ip vyos_wanloadbalance {
{% for ifname, health_conf in interface_health.items() if health_state[ifname].if_addr %}
{% if disable_source_nat is not vyos_defined %}
{% set state = health_state[ifname] %}
- ct mark {{ state.mark }} counter snat to {{ state.if_addr }}
+ ct mark {{ state.mark }} oifname {{ ifname }} counter snat to {{ state.if_addr }}
{% endif %}
{% endfor %}
}