diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-11-21 20:04:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 20:04:34 +0100 |
commit | 827f2b223d703539101c60e265b360c987d9c3da (patch) | |
tree | 7f2e22228180211e93c7c7515d836c73e3b82cdc /data/templates/ipsec/swanctl | |
parent | dc9726636f18ba35b17c16786bc822aa73a878a6 (diff) | |
parent | 2ac4a8a5fed9db471b7ffac0f54e6741c6f87834 (diff) | |
download | vyos-1x-827f2b223d703539101c60e265b360c987d9c3da.tar.gz vyos-1x-827f2b223d703539101c60e265b360c987d9c3da.zip |
Merge pull request #1673 from sever-sever/T4823
T4823: Fix IPsec transport mode remote TS
Diffstat (limited to 'data/templates/ipsec/swanctl')
-rw-r--r-- | data/templates/ipsec/swanctl/peer.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/peer.j2 b/data/templates/ipsec/swanctl/peer.j2 index d097a04fc..837fa263c 100644 --- a/data/templates/ipsec/swanctl/peer.j2 +++ b/data/templates/ipsec/swanctl/peer.j2 @@ -124,7 +124,7 @@ {% endif %} {% elif tunnel_esp.mode == 'transport' %} local_ts = {{ peer_conf.local_address }}{{ local_suffix }} - remote_ts = {{ peer }}{{ remote_suffix }} + remote_ts = {{ peer_conf.remote_address | join(",") }}{{ remote_suffix }} {% endif %} ipcomp = {{ 'yes' if tunnel_esp.compression is vyos_defined else 'no' }} mode = {{ tunnel_esp.mode }} |