Skip to main content
added windows hosts file to add IP adress
Source Link
RobSeg
  • 2.5k
  • 2
  • 15
  • 13

You can't ping from your Windows host to your Linux guest, Linux firewall is blocking the requests. Can you SSH from your windows into your Linux?

ssh user@ipadress 

Make sure your ports are open (firewall is not blocking). For SSH you need port 22 to be open, for DNS port 53. You can open up ports like this.

iptables -I INPUT -p tcp --dport 22 -j ACCEPT 

Check the status of your iptables like this.

iptables -L -n 

You can also try to manually add the IP of the Linux guest to your windows system. Go to

C:\WINDOWS\system32\drivers\etc\hosts 

your Linux IP should be in there, if not, add it.

You can't ping from your Windows host to your Linux guest, Linux firewall is blocking the requests. Can you SSH from your windows into your Linux?

ssh user@ipadress 

Make sure your ports are open (firewall is not blocking). For SSH you need port 22 to be open, for DNS port 53. You can open up ports like this.

iptables -I INPUT -p tcp --dport 22 -j ACCEPT 

Check the status of your iptables like this.

iptables -L -n 

You can't ping from your Windows host to your Linux guest, Linux firewall is blocking the requests. Can you SSH from your windows into your Linux?

ssh user@ipadress 

Make sure your ports are open (firewall is not blocking). For SSH you need port 22 to be open, for DNS port 53. You can open up ports like this.

iptables -I INPUT -p tcp --dport 22 -j ACCEPT 

Check the status of your iptables like this.

iptables -L -n 

You can also try to manually add the IP of the Linux guest to your windows system. Go to

C:\WINDOWS\system32\drivers\etc\hosts 

your Linux IP should be in there, if not, add it.

Source Link
RobSeg
  • 2.5k
  • 2
  • 15
  • 13

You can't ping from your Windows host to your Linux guest, Linux firewall is blocking the requests. Can you SSH from your windows into your Linux?

ssh user@ipadress 

Make sure your ports are open (firewall is not blocking). For SSH you need port 22 to be open, for DNS port 53. You can open up ports like this.

iptables -I INPUT -p tcp --dport 22 -j ACCEPT 

Check the status of your iptables like this.

iptables -L -n