View Single Post
  #3  
Old 30th January 2009, 08:39
tech.gsr tech.gsr is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jeff_k View Post
Hi, you show that
iptables -L
on Linux1 is set up to allow all. But what about Linux 2? Is it set up in the same manner? It will need to allow the pings. Maybe it is already set up, I didn't see your output for iptables -L for Linux 2 (maybe I didn't look hard enough).

Here is a link that might help, it seems relevant:
http://www.cyberciti.biz/tips/linux-...icmp-ping.html
Hey Jeff, thanks for the link...
i tried with link, but still there is no success, but i have confident i will reach my goal with your help.....

----------now my Linux1 iptables -L is

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

and

--------my Linux2 iptables -L is

chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED, ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

chain OUTPUT (policy ACCEPT)
target prot opt source destination

let me know what could be the reason that i still cant see Linux 2 and vice versa, still host unreachable

waiting for your reply
Reply With Quote