I want to check if a client can access a server via rtsp://192.168.1.5:554. As you can see the rtsp protocol and port #554 must be open and working on the server.
Can I add
iptables -A INPUT -m state --state NEW -p tcp --dport 554 -j ACCEPT
but the protocol is specified as tcp. changing that to -p rtsp
doesn't work either.
Any idea on that?
Best Answer
RTSP is just another application layer protocol layered on top of TCP or UDP, like HTTP or FTP. As Wikipedia puts it
If you open up TCP and UDP, you should be fine.