Originally Posted by JKF22
I've spoken to my host, they confirmed there is a recovery login etc... There advice is to turn the server off, then use this recovery option to edit the iptables.
iptables is something i have no idea about really, can you or anyone give me any advice where to start with this to try and get SSH access back on?
Wow, iptables are memory-resident only, so unless they are "persistent" somehow, rebooting should clear them.
They may be saved in /etc/sysconfig/iptables, so moving this file in a recovery environment may be sufficient.
I say "move" so they can be reviewed later.
mv /etc/sysconfig/iptables /root/safe.rules
and a reboot should take care of it.
You may also wish to view /etc/iptables/rules.v4 if it exists, and move that also to /root/<something_clever>
After moving, reboot and see what's what.
Others may have more information or even another method to accomplish this task.