# iptables -L
You should receive a similar output:
Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
3. The first firewall rule you need to add is the following one:
# iptables -A INPUT -m conntrack –ctstate ESTABLISHED,RELATED -j ACCEPT
NOTE: This tells your Firewall to accept your current SSH connection.
4. The next step is to allow traffic on your loopback interface and to open some basic ports:
`# iptables -A INPUT -i lo -j ACCEPT

