I am trying to use
iptables but I am clueless in understanding the documentation even so that I've locked myself out of my server twice already whilst trying to implement it.
These are the simple rules that I want to implement:
- Allow ports 80, 6667 and 6697 to everyone
- Allow port 22 to just my IP for example
Please can someone help me implement these simple rules, without locking myself out?