summaryrefslogtreecommitdiff
path: root/data/templates/conntrack/nftables-helpers.j2
diff options
context:
space:
mode:
authorIndrek Ardel <indrek@ardel.eu>2024-03-10 04:00:32 +0200
committerIndrek Ardel <indrek@ardel.eu>2024-03-12 17:19:17 +0200
commit3e1e2a3e7b6f5d969819bffda2858a91132d595e (patch)
treeec2ae87fa057f63b536b8172855f20b844453190 /data/templates/conntrack/nftables-helpers.j2
parent46cdd46215844ff99fa50462367d6040d8af10d3 (diff)
downloadvyos-1x-3e1e2a3e7b6f5d969819bffda2858a91132d595e.tar.gz
vyos-1x-3e1e2a3e7b6f5d969819bffda2858a91132d595e.zip
conntrack: T4022: add RTSP conntrack helper
Diffstat (limited to 'data/templates/conntrack/nftables-helpers.j2')
-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;