Port 3478 is STUN / TURN, TCP and UDP.
TCPUDP
low risk
App-IDstun
Session Traversal Utilities for NAT — used by Teams, Zoom, and WebRTC to punch through NAT for media traffic.
Palo Alto
Create the service objects for this port, then allow the App-ID on it. Restricting the rule to the port's service object keeps the rule working on a non-default port and stops the App-ID matching on other ports. Replace the placeholders with your own rule name and zones.
set service tcp-3478 protocol tcp port 3478
set service udp-3478 protocol udp port 3478
set rulebase security rules <rule-name> from <from-zone> to <to-zone> source any destination any application stun service [ tcp-3478 udp-3478 ] action allow
Risk and exposure
Rated low risk. Even so, only expose this port to the networks and hosts that need it, and keep it patched.
Check it
- Linux
ss -tlnp | grep :3478 - Linux
ss -ulnp | grep :3478 - PowerShell
Test-NetConnection <host> -Port 3478 - nmap
nmap -p 3478 <host> - nmap
nmap -sU -p 3478 <host>