Can you ping from other machines in the same subnet? Do you have iptables running on the machine and is icmp allowed? Post the output of `iptables-save` if you cannot solve this yourself. [by TrevorH]
on 11/05/2012 – Made popular on 11/05/2012
Protection of WEB and DNS servers using the context-free rules for packet filtering:
- Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns.
- Protect your primary DNS-server so that it could be to contact clients and secondary servers.
- Allow ICMP ping to / from your site (s).
- the rest is declined.
I have 2 virtual machines that can not ping/access one another.
I am setting up a exchange server, and a domain controller as guest machines in virtualbox. All machines including the host are running windows server Datacenter 2008 R2. I have my networking set to "bridged", and static ip's set in both the virtual machines, and host (but not on the network adapters).
service iptables stop
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p tcp -m multiport --dports 22,80,443 -m state --state NEW,ESTABLISHED -j ACCEPT
service iptables save
service iptables restart
works as expected on a Centos 6.3 server (provided by VPSBlocks.com.au) but