Created
March 1, 2017 07:56
-
-
Save vignesh-v3/51cdbfe8d1e8ea18f475a3ba790fa708 to your computer and use it in GitHub Desktop.
This file contains 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
[root@localhost ~]# /sbin/iptables -nvL | |
Chain INPUT (policy ACCEPT 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
390 35545 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED | |
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 | |
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 | |
4 176 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 | |
136 10426 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited | |
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) | |
pkts bytes target prot opt in out source destination | |
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited | |
Chain OUTPUT (policy ACCEPT 273 packets, 33733 bytes) | |
pkts bytes target prot opt in out source destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment