I have tried running the script iptables_rules.sh from ww_install github. I am unable to access the webwork server after the script has run. When I run 'iptables -F' webwork load very nicely.
Here is my current iptables:
-----------
[root@somedomain ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
-----------
Besides allowing port 80, what exactly do I need to enable? I need to SSH into the server from any IP address and also send email from the server..
The server is running CentOS 7 on a VPS that I am personally renting... so I have full control of the server. I used the ww_install script.
Thank you all!