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

Able to ping, nslookup and curl in pfSense box but curl failed in clients

Scheduled Pinned Locked Moved General pfSense Questions
31 Posts 4 Posters 3.4k Views 4 Watching
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.
  • S Online
    stephenw10 Netgate Administrator
    last edited by stephenw10 Oct 10, 2022, 6:27 PM Oct 10, 2022, 6:24 PM

    Ok so pfSense is sending that traffic as expected and OpenWRT sees it on the LAN but no replies.
    Are there any replies on the OpenWRT WAN?

    You're probably going to need to open that in Wireshark and look at it more closely.

    You might also connect the laptop to OpenWRT directly and pcap the same traffic there when it succeeds.

    https://en.wikipedia.org/wiki/Transmission_Control_Protocol#TCP_timestamps

    TCP timestamps are enabled by default In Linux kernel.,[27] and disabled by default in Windows Server 2008, 2012 and 2016.[28]

    Steve

    1 Reply Last reply Reply Quote 0
    • M Offline
      mltobing
      last edited by mltobing Oct 10, 2022, 7:23 PM Oct 10, 2022, 6:48 PM

      @stephenw10 I am not familiar with packet inspection. Is there something I need to check ?

      This is the packets capture result on OpenWRT LAN interface

      Top = my laptop => pfSense => OpenWRT (unable to connect to internet, no reply from OpenWRT WAN)
      Bottom = my laptop => OpenWRT (able to connect to internet)

      370c29be-8274-41ec-b191-7f50559d965c-image.png

      1 Reply Last reply Reply Quote 0
      • S Online
        stephenw10 Netgate Administrator
        last edited by Oct 10, 2022, 7:30 PM

        OK, it looks like you may have some asymmetric routing somewhere.

        In the working pcap you can see there is traffic in that TCP session that did not pass the interface.

        By far the most likely is that the laptop you're testing from has some other connection. Like maybe it has wifi directly to the ISP "modem".

        pfSense will block out of state TCP traffic like that. Lesser firewalls may not. 😉

        Do you see any blocked TCP traffic in the pfSense firewall log?

        It's still hard to see how that could happen though because each device is source NATing on the way out...

        But that fact the ping works also points to that.

        Steve

        1 Reply Last reply Reply Quote 0
        • M Offline
          mltobing
          last edited by Oct 10, 2022, 8:19 PM

          @stephenw10 I did so many tests but traffics filtered by destination only these

          84d600e1-2cf3-4753-b79c-84cb15aaa8cd-image.png

          1 Reply Last reply Reply Quote 0
          • S Online
            stephenw10 Netgate Administrator
            last edited by Oct 10, 2022, 9:11 PM

            Hmm 192.168.1.101 should not be blocked inbound on LAN like that. Assuming that's still the LAN subnet?

            But if it was that traffic would not appear on the pfSense WAN

            Are you able to upload those pcaps so I can review them?
            https://nc.netgate.com/nextcloud/s/9jFb69WaCHzfSRB

            Steve

            R 1 Reply Last reply Oct 10, 2022, 9:16 PM Reply Quote 0
            • R Offline
              rcoleman-netgate Netgate @stephenw10
              last edited by Oct 10, 2022, 9:16 PM

              @stephenw10 That is a SYN packet - it could be because of a closed state or a bad state reference (like you commented about asymmetry).

              Ryan
              Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
              Requesting firmware for your Netgate device? https://go.netgate.com
              Switching: Mikrotik, Netgear, Extreme
              Wireless: Aruba, Ubiquiti

              1 Reply Last reply Reply Quote 0
              • S Online
                stephenw10 Netgate Administrator
                last edited by Oct 10, 2022, 9:40 PM

                SYN should be passed. Any other flag combo might be dropped. Hard to see where another route might exist though since the laptop is already connected via wifi.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mltobing
                  last edited by mltobing Oct 10, 2022, 10:01 PM Oct 10, 2022, 10:00 PM

                  Files uploaded. I thought I disabled the wifi during the test

                  bca43064-33cd-4252-b993-be2abfe4019c-image.png

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mltobing
                    last edited by Oct 10, 2022, 11:27 PM

                    @rcoleman-netgate @stephenw10 @viragomann and the others on this thread. Thank you very much for your help.
                    This issue resolved after I checked "Disable hardware checksum offload" on System / Advanced / Networking (default uncheck).
                    I can access pfsense.org and other websites now

                    33745fc1-dca8-4390-9351-6f1fafa22e1d-image.png

                    2021394c-f1a9-4827-aaa5-d42387a265f8-image.png

                    1 Reply Last reply Reply Quote 2
                    • S Online
                      stephenw10 Netgate Administrator
                      last edited by Oct 10, 2022, 11:31 PM

                      Ah, that will do it. I should have pressed that question when I asked it earlier. Lesson for today.

                      Good result. 👍

                      Steve

                      1 Reply Last reply Reply Quote 1
                      31 out of 31
                      • First post
                        31/31
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received