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

iptables problem



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.

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