We have a proxy filtering connections but some sites use RTMP, which runs on port 1935. This cannot go through the proxy as proxies are port 80 only.
As far as I know if RTMP fails, it will retry on port 80.
So, how can I block 1935 in iptables
to force RTMP to go through a normal HTTP port?
I have the following but it is not working.
Any RTMP streams still fail.
[root@li711-43 ~]# iptables -A INPUT -p tcp --destination-port 1935 -j DROP
[root@li711-43 ~]# iptables -A OUTPUT -p tcp --dport 1935 -j DROP