Problem Description:

When a Host sends data to a server running on a local VM, the Server cannot receive the data. The Wireshark displays an error message Destination unreachable (Host Administratively Prohibited) after packet analysis. The destination host is forcibly disabled. Basically can conclude is the firewall problem.

Solutions:

Disable the firewall.

In Ubuntu, you can run the following command (in fact, turning off the firewall to some extent allows all packages to pass) :

sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -F
Copy the code

Problem solved.

Pay attention to wechat public number, progress a little bit every day!