List Info

Thread: iptables problem




iptables problem
user name
2007-01-18 03:09:32
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 
 
 [roottemo ~]# 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
 [roottemo ~]# iptables -D INPUT 2
 [roottemo ~]# 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
 [roottemo ~]#    
 
 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo!
Games.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requestredhat.com?subject=unsubscribe
h
ttps://www.redhat.com/mailman/listinfo/redhat-list

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )