Created
October 7, 2016 21:29
-
-
Save razlupercio/cb6ec1a347fd4cc9fc3d498656c53df8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
you@yourlaptop:~$ sudo iptables -L | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
f2b-sshd tcp -- anywhere anywhere multiport dports ssh | |
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED | |
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh | |
ACCEPT tcp -- anywhere anywhere tcp dpt:http | |
ACCEPT tcp -- anywhere anywhere tcp dpt:https | |
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable | |
ACCEPT all -- anywhere anywhere | |
Chain FORWARD (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
ACCEPT all -- anywhere anywhere | |
Chain f2b-sshd (1 references) | |
target prot opt source destination | |
RETURN all -- anywhere anywhere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment