Real-Time Messaging Protocol, still the standard way to push live streams from OBS to YouTube, Twitch and media servers (nginx-rtmp, SRS).
Real-Time Messaging Protocol, still the standard way to push live streams from OBS to YouTube, Twitch and media servers (nginx-rtmp, SRS).
Expose only to trusted sources. Protect ingest with stream keys and do not expose an open RTMP server, or anyone can publish streams to it.
sudo ss -tlnp 'sport = :1935'sudo lsof -nP -i :1935sudo netstat -tlnp | grep ':1935 'netstat -ano | findstr :1935Get-NetTCPConnection -LocalPort 1935 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 1935Test-NetConnection HOST -Port 1935Replace 203.0.113.10 with the address or network you trust. With ufw, make sure the default incoming policy is deny.
sudo ufw allow from 203.0.113.10 to any port 1935 proto tcpsudo iptables -A INPUT -p tcp --dport 1935 -s 203.0.113.10 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 1935 -j DROPsudo nft add rule inet filter input ip saddr 203.0.113.10 tcp dport 1935 accept
sudo nft add rule inet filter input tcp dport 1935 dropNew-NetFirewallRule -DisplayName 'TCP 1935 trusted' -Direction Inbound -Protocol TCP -LocalPort 1935 -RemoteAddress 203.0.113.10 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.