Created
July 20, 2009 19:20
-
-
Save craigw/150579 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
| sudo iptables -L | |
| Chain INPUT (policy ACCEPT) | |
| target prot opt source destination | |
| ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED | |
| ACCEPT udp -- anywhere anywhere udp dpt:694 | |
| ACCEPT tcp -- anywhere anywhere tcp dpt:ssh | |
| ACCEPT tcp -- anywhere anywhere tcp dpt:www | |
| DROP all -- anywhere anywhere | |
| Chain FORWARD (policy ACCEPT) | |
| target prot opt source destination | |
| Chain OUTPUT (policy ACCEPT) | |
| target prot opt source destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment