Home > OS >  Without shutting down the firewall how to solve the problem of ping between the virtual machine and
Without shutting down the firewall how to solve the problem of ping between the virtual machine and

Time:11-13

Recently in the server configuration, want to in their own virtual machine test, but the first step that stumped me

Online methods are said need to shut down the virtual machine and host firewall, and I've tried really feasible,
But it's more like a pick up the sesame lost watermelon, solve the small problem is a bigger problem,,,
I don't want to close the firewall, after all, still can have a little effect, I now want to know more details of which rules to prevent virtual machine and the communication between hosts? Or how can I want to know the firewall to stop the communication connection?

Google along while of this one is the only a somewhat related:
http://www.it610.com/article/5532524.htm
Say need to enable file and print sharing (echo request - ICMPv4 -) In this rule, but after I test and no effect, as can't opened the

Great god answer ah, how can I need to know what is specific rules to prevent virtual machine and the communication between hosts?
Or firewall is there similar to be blocked communication log files, you can find out specific what went wrong

CodePudding user response:

refer to the original poster qq_25368657 response:
server configuration in a recent study, want to in their own virtual machine test, but the first step that stumped me

Online methods are said need to shut down the virtual machine and host firewall, and I've tried really feasible,
But it's more like a pick up the sesame lost watermelon, solve the small problem is a bigger problem,,,
I don't want to close the firewall, after all, still can have a little effect, I now want to know more details of which rules to prevent virtual machine and the communication between hosts? Or how can I want to know the firewall to stop the communication connection?

Google along while of this one is the only a somewhat related:
http://www.it610.com/article/5532524.htm
Say need to enable file and print sharing (echo request - ICMPv4 -) In this rule, but after I test and no effect, as can't opened the

Great god answer ah, how can I need to know what is specific rules to prevent virtual machine and the communication between hosts?
Or firewall is there similar to be blocked communication log files, you can find out what the problem with the specific


"File and printer sharing (echo request - ICMPv4 - In"

In general this group "file and printer sharing" can enable this with netbios name can also be visited,

CodePudding user response:

Firewall exceptions to the rule set

CodePudding user response:

Create a virtual machine when selective bridge? The virtual machine and host all use the same network segment? Adjust the two to try again

CodePudding user response:

Check from several aspects:
1. Check the virtual network card have been banned
2. Check whether the virtual machine to the physical machine in a VMNet
3. Check the IP address of the virtual machine and the corresponding physical machine VMNet is on a network segment
4. Check whether the virtual machine and physical firewall is allowed to PING, if not all closed

CodePudding user response:

refer to the second floor garry7 response:
firewall exceptions set


Don't know how to set the exception is the key item,,,

CodePudding user response:

reference 5 floor qq_25368657 reply:
Quote: refer to the second floor garry7 response:

Firewall exceptions set


Don't know how to set the exception is the key item,,,


Within the physical machines and virtual firewall are putting the inbound and outbound rules within the "file and print sharing (echo request - ICMPv4 - In)" allowed to connect, In the outbound rules for "file and print sharing (echo request - ICMPv4 - Out)" allowed to connect

CodePudding user response:

The firewall Settings "allows program through" option

CodePudding user response:

Search the problem and tried to allow all process related to the vm through a firewall, or not, but finally found a solution:
In the host, for example, in turn open the firewall, advanced Settings, inbound rules, the new rules, the custom, any agreement with any port, to choose IP, local IP choose any local IP, adding virtual machine remote IP LAN IP, the next step, choose allowed to connect, do,
Virtual machine firewall I is directly closed,

CodePudding user response:

Just allow the ICMP echo request,
Before you set the also not line, is likely to be only enabled in the configuration file is a firewall Settings. Windows with multiple firewall configuration, need to be enabled, is there a public, private, domain, etc.
On the PING machine is to enable the Settings.

CodePudding user response:

refer to the eighth floor jxz__ response:
search to this problem and tried to allow all process related to the vm through a firewall, or not, but finally found a solution:
In the host, for example, in turn open the firewall, advanced Settings, inbound rules, the new rules, the custom, any agreement with any port, to choose IP, local IP choose any local IP, adding virtual machine remote IP LAN IP, the next step, choose allowed to connect, do,
Virtual machine firewall I'm directly closed,
effective

CodePudding user response:

Test fort opportunities to this kind of situation, don't want to close the firewall, and want to host can reach each other on both ends, can explain the inbound firewall rules by default filtering icmp packet, the icmp protocol is a script, no port number, so wish to have a virtual machine ping needs in the physical machine - advanced Settings - the inbound firewall rules of the new rules. Choose custom, agreement icmpv4 choice, and then go all the way down the points down, finally can ping, if the security requirements of high, will use remote desktop MSTSC, that can modify the RDP protocol is the default port 8843, literally change the port number, is also a change in the inbound rules.

CodePudding user response:

refer to the eighth floor jxz__ response:
search to this problem and tried to allow all process related to the vm through a firewall, or not, but finally found a solution:
In the host, for example, in turn open the firewall, advanced Settings, inbound rules, the new rules, the custom, any agreement with any port, to choose IP, local IP choose any local IP, adding virtual machine remote IP LAN IP, the next step, choose allowed to connect, do,
Virtual machine firewall I'm directly closed,
strong

CodePudding user response:

junction post bar, do you like this, this software haven't through the Virtual machine, first go to learn the Virtual machine, Virtual machine Network model is divided into three kinds, respectively be Bridged, NAT (Network Address Translation), the Host - only, translated into Chinese bridge, Network Address Translation, only the Host, this three patterns can be linked to the Host, three models in the Virtual Network editor to see that your Network is configured to pass, it is none of you said file sharing and firewall, firewall, don't you set the default is not connected to the PING, also to enter the rules, PING using icmp protocol
  • Related