Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VMware Workstation VMs Web Traffic Being Blocked

    Scheduled Pinned Locked Moved General pfSense Questions
    221 Posts 6 Posters 61.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Often the first site in Google search results will be paid-for advertisement links that go through google ad-services. That can be blocked by browser plugins or by DNS filtering. Though not usually for pfSense as a search term.
      Are you running pfBlocker?
      Are the VMs configured the same as the physical hosts? Using the same DNS servers?

      Steve

      1 Reply Last reply Reply Quote 0
      • D
        dfinjr
        last edited by

        @stephenw10
        Hi Steve,
        I do run a pi-hole in the environment and made sure that from the google search example that it wasn't an ad based link and wasn't being blocked for that reason. Also, if I do just direct webpage hits like "speedtest.net" or "bestbuy.com" they're getting blocked the same as mentioned in the post.

        I am not running pfblocker, honestly didn't know that was a thing till you mentioned it.

        Yep, the physical hosts have identical configuration static as the virtual hosts. Same subnet, gateway and DNS Servers. I also for the sake of testing changed the settings to allow it to go 8.8.8.8 direct and skip the pi-hole but no difference in results was found.

        Thanks!
        David

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          If it's resolving and there's a route the next most common thing is some sort of MTU issue and that could apply to traffic doing through the hypervisor only.
          Are you routing traffic over a VPN?

          Try running a packet capture for those connections and see what's actually happening at the pfSense interfaces.

          Steve

          D 2 Replies Last reply Reply Quote 0
          • D
            dfinjr @stephenw10
            last edited by

            @stephenw10
            No traffic is being ran over VPN.

            I did a packet capture from the netgate for the host in question (172.16.0.202) for anything over port 443 and then went to the host and generated some traffic. This is what I got back: (opened on Wireshark on another system)
            19c9e6ec-8f64-476a-b3bc-74a07efa8c5f-image.png

            During this capture same results experienced as mentioned earlier. Blocks on all sites except google and netgate.

            Not sure what these retransmissions are.

            I've attached the full packet capture. packetcapture-2.cap

            DaddyGoD 1 Reply Last reply Reply Quote 0
            • D
              dfinjr @stephenw10
              last edited by

              @stephenw10
              Also now noticing packet out of order and fragment errors. Would like your interpretation on what is going on here.

              3b4ad370-9701-4719-8cd6-b8bc7872fee1-image.png

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                TCP retransmissions imply traffic is not reaching the destination or the target is choosing not to reply.
                Was that taken on the pfSense WAN?

                It could be an MTU issue. It reads like the client never receives the large packets from the server.

                Though in that screenshot you see the same thing to our IP, but that works?

                D 1 Reply Last reply Reply Quote 0
                • DaddyGoD
                  DaddyGo @dfinjr
                  last edited by

                  @dfinjr said in VMware Workstation VMs Web Traffic Being Blocked:

                  During this capture same results experienced as mentioned earlier.

                  Hi,

                  I can confirm (in a similar environment - like yours) that this may be a Win issue, VMw workstation16PRO + Ubuntu 20.04 desktop does not have this phenomenon.

                  This could be interesting even though ESXi: https://communities.vmware.com/t5/VMware-vSphere-Discussions/TCP-Retransmission-issue-on-a-VM-Machine/td-p/2259652

                  what do you use as a network adapter on your VMw workstation? ...: NAT, host - only or custom, what is the windows machine adapter type e1000 or vmxnet (?)

                  Cats bury it so they can't see it!
                  (You know what I mean if you have a cat)

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dfinjr @stephenw10
                    last edited by

                    @stephenw10
                    I did this capture from the interface supporting the vlan where the VMs are at.

                    Yep, I don't understand it and have been digging into this ever since I discovered it with no idea how to troubleshoot it out.

                    I'd be happy to do some other packet captures for you. I did this capture from the vlan where those VMS and 2 physical machines reside specifically looking at the 172.16.0.202 address for anything happening or attempting to happen over 443, which is just one of the 6 VMS doing this same behavior.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Can you pcap on the client seeing the issues?

                      On the pfSense VLAN interface it looks like all the traffic is present so it would good to see how much of that makes it to the client.

                      Given that physical devices on the same VLAN can connect no problem it really looks like the hypervisor is dropping the traffic. Or maybe sending it to the wrong place etc.

                      Steve

                      D 3 Replies Last reply Reply Quote 0
                      • D
                        dfinjr @DaddyGo
                        last edited by

                        @daddygo
                        Hello,
                        The hosting system for the VMs is on Win10 + VMware workstation 16 pro. I would of suspected something possibly like that if I didn't have the same data flying just fine over a 5506x Cisco ASA before attempting to make the jump over to the netgate appliance.

                        For the network adapter I have the VMs using bridged mode so they're seeing straight through to the intel hardline network adapter: (taken from 172.16.0.202)
                        d9723bf3-7c23-4b3f-ad23-82caeae6cc3c-image.png

                        From vmware workstation for that host:
                        5b87f35c-939a-48a8-be3d-1ebc6e935ebc-image.png

                        I think the screen shot it shows that the type is vmnet0.

                        Thanks!
                        David

                        DaddyGoD 1 Reply Last reply Reply Quote 0
                        • D
                          dfinjr @stephenw10
                          last edited by

                          @stephenw10
                          I did a short packet capture and want to share it but there is a hard limit on the file size, tried compressing it but still not less than 2mb. Is there another method I could share it with you?

                          I would think it was something to do with vmware workstation but can't think of a reason why it would work on a Cisco ASA and not this netgate appliance. Don't believe I did anything special with the Cisco at all.

                          Either case, I definitely want to use the new netgate hardware for a few reasons, one being this hardware isn't 7yrs old :).

                          1 Reply Last reply Reply Quote 0
                          • D
                            dfinjr @stephenw10
                            last edited by

                            @stephenw10
                            Think I got it:
                            pcap4.pcapng.gz

                            1 Reply Last reply Reply Quote 0
                            • DaddyGoD
                              DaddyGo @dfinjr
                              last edited by DaddyGo

                              @dfinjr said in VMware Workstation VMs Web Traffic Being Blocked:

                              I think the screen shot it shows that the type is vmnet0.

                              Nope, that would be part of the "custom" option, you are currently using the E1000e driver from VMwareTools as the default driver Intel 82574

                              it's definitely the interaction between virtual environment and windows, I wouldn't think pfSense is cool to differentiate between physical machine and VM machine on the same subnet ๐Ÿ˜‰

                              try playing around with the virtual machine NIC driver, as a high number of retransmission may indicate a stall....

                              +++edit:
                              https://kb.vmware.com/s/article/2032184

                              Cats bury it so they can't see it!
                              (You know what I mean if you have a cat)

                              D 2 Replies Last reply Reply Quote 0
                              • D
                                dfinjr @DaddyGo
                                last edited by

                                @daddygo said in VMware Workstation VMs Web Traffic Being Blocked:

                                https://kb.vmware.com/s/article/2032184

                                I'll give this a shot here in a few and update the post. Thank you!

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dfinjr @DaddyGo
                                  last edited by

                                  @daddygo
                                  Looks like the vmware specific drivers do not want to play ball with the host:
                                  48369a89-423e-44d2-8aed-595fbc1d48ea-image.png

                                  DaddyGoD 1 Reply Last reply Reply Quote 0
                                  • D
                                    dfinjr @stephenw10
                                    last edited by

                                    @stephenw10
                                    Hi Steve,
                                    Was wondering if you had any other ideas on what you were seeing on the network packet captures?

                                    Thanks!
                                    David

                                    1 Reply Last reply Reply Quote 0
                                    • DaddyGoD
                                      DaddyGo @dfinjr
                                      last edited by DaddyGo

                                      @dfinjr said in VMware Workstation VMs Web Traffic Being Blocked:

                                      Looks like the vmware specific drivers do not want to play ball with the host:

                                      Ouupss...

                                      Unfortunately I don't use Windows with workstation16, only on ESXi with vmxnet3 and no problems behind pfSense....

                                      just out of curiosity would you try it behind NAT on your workstation16...(?)

                                      BTW:
                                      windows is a strange beast when it comes to type 2 hypervisors, although I haven't seen this on VirtualBox yet either, I'll install one on workstation16 tomorrow.

                                      I'm getting more and more excited, but I can definitely feel that it's not a pfSense question ๐Ÿ˜‰

                                      edit:
                                      Ubuntu behaves perfectly well in this setting, so I suspect to MS

                                      dcaa7a3e-1a35-4b8e-a20e-2b44d1b7ca91-image.png

                                      Cats bury it so they can't see it!
                                      (You know what I mean if you have a cat)

                                      D 1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Mmm, I would not think either pfSense or the Cisco router would have any idea which traffic comes from a VM. And it shouldn't matter.
                                        Things I could imagine happening are the Cisco doing some fragmentation or reassembly pfSense is not.

                                        DaddyGoD D 2 Replies Last reply Reply Quote 0
                                        • DaddyGoD
                                          DaddyGo @stephenw10
                                          last edited by

                                          @stephenw10 said in VMware Workstation VMs Web Traffic Being Blocked:

                                          Cisco doing some fragmentation or reassembly pfSense is not.

                                          Yuppp,... This is also possible, but the problem is that it is transferred to the VM environment in different ways, ergo one of the device drivers (VM) is messing with us (maybe) ๐Ÿ˜‰

                                          BTW:
                                          ens33 has nothing wrong with this on Ubuntu

                                          Cats bury it so they can't see it!
                                          (You know what I mean if you have a cat)

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            In the pcap there are some jumbo frames shown between internal hosts. So possibly something is trying to use them externally. I don't see that in the capture though.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.