I configured iptables to allow ports 80 and 443 for a webserver as well as 10000 for webmin using "iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT", etc. Please let me know if I correctly interpret the following iptables output.
InputsFirst three lines allow ports 10,000, 443, and 80 using the TCP protocol.
I don't understand whats going on with my rootserver...
I have reset iptables and just opened the port for ssh.
Now suddenly over night I see that there are a various of ports open:
21,80, 135, 139, 445, 3128
Could it be that vsftpd for example put rules in automatically to allow input on port 21?
I also tried disabling iptables with this command:
I used an online tool to create an iptables firewall. Basically I just need port 22 and 1194 open to the outside world. But I noticed this bash script has input, forward and output chains as accept by default. Is it blocking all traffic but those two ports? Thanks.