iptables problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi i have a strang problem
 why any host can ssh me in the first list  but  can't in the second list 
 
 please i want to understand this case 
 
 thank you 
 
 [root@temo ~]# iptables --line-numbers -L
 Chain INPUT (policy DROP)
 num  target     prot opt source               destination
 1    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
 2    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
 
 Chain FORWARD (policy ACCEPT)
 num  target     prot opt source               destination
 
 Chain OUTPUT (policy ACCEPT)
 num  target     prot opt source               destination
 [root@temo ~]# iptables -D INPUT 2
 [root@temo ~]# iptables --line-numbers -L
 Chain INPUT (policy DROP)
 num  target     prot opt source               destination
 1    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
 
 Chain FORWARD (policy ACCEPT)
 num  target     prot opt source               destination
 
 Chain OUTPUT (policy ACCEPT)
 num  target     prot opt source               destination
 [root@temo ~]#    
 
 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux