I've tried to open port 8605 on my server (used for socket connections) using:
iptables -I INPUT 2 -s 0/0 -p tcp --dport 8605 -j ACCEPT
However the change is not persisting, the port closes itself once a day (I assume something is being regularly reloaded).
How can I make my change persist?
EDIT
Despite saving it, the change does not persist, each day it needs to be corrected.
Crontab does not seem to have any obvious changes, and the server is not restarting. Any ideas?
EDIT
I found out that iptables was running under apf - advanced policy firewall so I needed to updated the rules in there.