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 55.5k 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.
    • D
      dfinjr
      last edited by

      Sorry for the delays everyone. I am working on shaking a moment free with work to do the tests. as soon as I do I will post them here.

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

        @johnpoz

        Here are the pings you requested. No MSS is enabled and the websites are again failing to browse:

        aa8e0fc2-0080-411f-95df-e4076d8e43f7-image.png

        The specific sites that I had trouble with this time was speedtest.net and gmail.com. I used to have problems with pfsense.org but this time it loaded (not sure why, probably cached content or something).

        Test with gmail.com: (worked)
        65780504-f052-4c52-a0e6-5d20f01fa54e-image.png

        Test with speedtest.net: (timed out 1472)
        76de80b4-a511-4e35-a564-6e6108477f7b-image.png

        ...worked at 1434, going up...

        failed at 1454... (chose randomly)

        failed at 1444... (truncated till I found what did/didn't work)

        continued to work up to 1440 but failed at 1441:
        81bb10e6-b4e3-4c92-a052-bb6531f37c73-image.png

        Hope these ping tests tell you something @johnpoz @stephenw10

        Uploaded a failed capture again, longer one for 80+443 from the client that has been subject to this conversation most of this forum post (172.16.0.202). Here is the link for that again:
        https://drive.google.com/drive/folders/14C1MTTuwjUnvNYgDJfBy0gmiSQmO5HTQ?usp=sharing

        Again, sorry it has taken me so long to get you all this info work has been kicking my butt.

        Please let me know what you think and if there is any other testing you would like.

        Thanks again for the attention to this.

        johnpozJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @dfinjr
          last edited by johnpoz

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

          Test with speedtest.net: (timed out 1472)

          Well you got something wrong with your isp or the path from your isp to them... Works just fine here

          ping.jpg

          What about loading www.speedtest.net - with packet capture so we can see what your syn and the answer syn,ack has in them.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

            @johnpoz

            Sure would be happy to... Without MSS I am guessing?

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @dfinjr
              last edited by

              @dfinjr example

              mss.jpg

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                @johnpoz
                With MSS on:
                f8b6525e-a723-41c4-91ec-016b3c60532d-image.png
                MSS=1394

                With MSS off:
                13f70add-54cc-45be-a890-a43342f1cefa-image.png
                MSS=1430

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @dfinjr
                  last edited by

                  @dfinjr where did you sniff that.. What are you looking at exactly for when you see 1430?

                  Which packet.. Where exactly did you set MSS - what interface?

                  How could the SYN that has not yet entered pfsense be changed?

                  Need to see the SYN that you send, and what the syn,ack says in response.

                  If I change the MSS on pfsense lan, to 1400, and do a sniff on lan, I still see 1460, if sniff on wan.. see 1360 (which is 40 minus what I set of 1400)

                  mssset.jpg

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                    That looks like exactly like what he's seeing. The SYN goes out at 1460. The SYN-ACK comes back at 1430 or 1394 depening if MSS is set or not.

                    Really the only question I have here is why this is necessary. I expect path MTU to discover that if there really is a restriction somewhere.

                    Steve

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @stephenw10
                      last edited by johnpoz

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

                      The SYN goes out at 1460

                      Where are you seeing that?

                      Oh I see it now in the info section.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                        Mmm, yeah if you look at the latest pcap and then look at, for example, tcp.stream eq 11.
                        You can see the syn-ack comes back with mss 1430 but it still fails. Whatever packets it's sending are not passed through VMWare.

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

                          @johnpoz

                          Hi there.

                          I did that sniff at 172.16.0.202. What I was looking for was the matching public IP address right at the beginning of the TCP conversation between me and speedtest.net. Pretty much client hello then looked for the [SYN, ACK] to see the options for that digging out that MSS. At that point though the server has already responded. I think I found what you are after though under the [SYN, ECN, CWR] where the client is outlining the MSS: (tell me if I am wrong)

                          e058f5a5-21ab-4cfd-afaa-d5c1bb884e4d-image.png

                          I just went through the capture from the no MSS setting and I don't even see that packet originating like what I saw in the screen shot directly above...

                          On the PFSENSE I honestly have set all my interfaces with the MSS setting at 1434 because then everything started playing ball again. So this would be existing on all interfaces.

                          Am I missing it or is the capture with MSS on not coming up with that packet as what I showed in the screen shot above from when MSS is enabled?

                          @stephenw10
                          I have no idea why it is necessary... that's why I am still here to try and figure it out :)

                          On you last commend I am kind of hanging on that. I am not modifying anything within the VMWare configuration at all, only MSS on the PFsense... But how is that possible? If the packets weren't getting out of VMWare then the changes in firewall wouldn't matter right? So why do they?

                          I obviously can't make sense of this yet...

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

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

                            If the packets weren't getting out of VMWare then the changes in firewall wouldn't matter right? So why do they?

                            They do get out. But when they come back the large packets are not passed back to the VM by VMWare. The pcaps you ran on the host showed the reply packets arriving there but pcaps on the VM itself did not show them.
                            I'm assuming that last pcap was on the VM?

                            For example. Look at this tcp stream from packetcapture-5:
                            Screenshot from 2022-03-17 22-45-07.png

                            I wish I knew some better way to show that on the forum. Suggestions welcome!

                            The client send mss 1460. The server responds 1430.
                            But when the server uses 1430 (1484 total packet size) the client never sees it. It just sends a duplicate ACK.

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

                              @stephenw10
                              Oh I see. Yep PCAP was on the VM (172.16.0.202).

                              Yep I don't get it. I see what you're saying and all just can't wrap my head around what is going on here.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mikerobert789
                                last edited by

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