On CentOs 6.4 I cannot connect to the media server from port 1935 only 5080. I have read you can edit the
iptables files with following.
Open flle /etc/sysconfig/iptables:
$ sudo vi /etc/sysconfig/iptables
Append rule as follows:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport XY -j ACCEPT
Save and close the file. Restart iptables:
$ sudo /etc/init.d/iptables restart
How would I specifically configure port 1935? The above seems to be open to all ports, is this correct? Do I replace XY with 1935?