summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-16 12:32:44 +0100
committerGitHub <noreply@github.com>2024-03-16 12:32:44 +0100
commit5daebff4a5cc570f22c75e002ded8564b8e22e33 (patch)
treec20d1d171157154d535611c3a281d5df9dbbfa78 /data/templates
parentaea9bfb803c8943d289e939c9ec8185ffcc0985d (diff)
parent3e1e2a3e7b6f5d969819bffda2858a91132d595e (diff)
downloadvyos-1x-5daebff4a5cc570f22c75e002ded8564b8e22e33.tar.gz
vyos-1x-5daebff4a5cc570f22c75e002ded8564b8e22e33.zip
Merge pull request #3112 from Ingramz/add-rtsp-2
conntrack: T4022: add RTSP conntrack helper
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/conntrack/nftables-helpers.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/conntrack/nftables-helpers.j2 b/data/templates/conntrack/nftables-helpers.j2
index 433931162..63a0cc855 100644
--- a/data/templates/conntrack/nftables-helpers.j2
+++ b/data/templates/conntrack/nftables-helpers.j2
@@ -31,6 +31,12 @@
}
{% endif %}
+{% if modules.rtsp is vyos_defined and ipv4 %}
+ ct helper rtsp_tcp {
+ type "rtsp" protocol tcp;
+ }
+{% endif %}
+
{% if modules.sip is vyos_defined %}
ct helper sip_tcp {
type "sip" protocol tcp;