summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-02 22:23:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-02 22:25:31 +0200
commit68d8250fe525539427dacb6ef645d6e9c994085f (patch)
treecaf7be23dad4767319c19769b16f9c5985292b0e /data
parent7c1f2dab543f0f8960c4f86b53338c76ecf4d524 (diff)
downloadvyos-1x-68d8250fe525539427dacb6ef645d6e9c994085f.tar.gz
vyos-1x-68d8250fe525539427dacb6ef645d6e9c994085f.zip
conntrack: T3660: make peer port configurable
(cherry picked from commit bc01277bdfdf49be8950fe2cbf3749d42da2850d)
Diffstat (limited to 'data')
-rw-r--r--data/templates/conntrackd/conntrackd.conf.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/conntrackd/conntrackd.conf.tmpl b/data/templates/conntrackd/conntrackd.conf.tmpl
index 17ee529bf..ff6f785d5 100644
--- a/data/templates/conntrackd/conntrackd.conf.tmpl
+++ b/data/templates/conntrackd/conntrackd.conf.tmpl
@@ -13,12 +13,12 @@ Sync {
IPv4_address {{ listen_address }}
{% endif %}
IPv4_Destination_Address {{ iface_config.peer }}
- Port 3780
+ Port {{ iface_config.port if iface_config.port is defined else '3780' }}
{% else %}
{% set ip_address = iface | get_ipv4 %}
Multicast {
IPv4_address {{ mcast_group }}
- Group 3780
+ Group {{ iface_config.port if iface_config.port is defined else '3780' }}
IPv4_interface {{ ip_address[0] | ip_from_cidr }}
{% endif %}
Interface {{ iface }}