Originally Posted by trist007
I ping my fedora box and it times out. What do I need to change in the terminal on the fedora box?
I'll try to answer this for a terminal method to do this...
This is likely to be that an imcp rule is missing from iptables. Do
(alternatively if you are directly logged in as root, "service iptables status" in RHEL based distros)
This should tell you if iptables is running if it is, if this works then it may display a list of your current rules with addresses and traffic types, if not do the following in code. If your firewall is not running then I do not know what your problem is.
this will output on to the terminal your firewall settings, the type of traffic and the source/destination ports they are applied too.
You want to check your input chain for a rule that accepts IMCP traffic on source and destination addresses of 0.0.0.0/0 with an imcp-type of 8 (I believe 255 would also work but not certain on this). I believe this does not exist, if this is the case run the following command.
iptables -A <inputchain> -p icmp --icmp-type 8 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
switch <inputchain> for the actual name of your input chain.
Once done, try to ping your server, if this works then just do the following.
(if you are logged in as root you should be able to do "service iptables save" in RHEL based distros)