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

    Curl: (56) Recv failure: Connection reset by peer

    Scheduled Pinned Locked Moved Virtualization
    4 Posts 2 Posters 3.9k 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.
    • S
      shumy
      last edited by

      Hello, I have a network configuration with pfSense + ESXi, similar to the one posted here: https://communities.vmware.com/message/2644996#2644996 and the exact same problem reported, that is, HTTPS works fine but HTTP connection always resets!
      I have verified all firewall and network configurations, and all seems good.

      In attachments there is a package capture for the WAN pfSense interface (removed my public IP) for the command "curl http://www.cnn.com"
      You can see a TCP reset. Other servers (like google) respond in the same way.
      Other machines in the same network as the pfSense WAN interface work fine.

      The only justification I can use for this, is if there's something wrong with the TCP packages! Probably the PUSH package, since the SYNC has an ACK!
      capture.txt

      1 Reply Last reply Reply Quote 0
      • S
        shumy
        last edited by

        I think I can solve my one problem, but I need to translate also the source IP in my NAT. Is there any way to do this?
        http://www.fwbuilder.org/4.0/docs/users_guide5/double_nat.shtml

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          There's no info here to advise. Outbound NAT is taken care of automatically by default and there's no need to do anything usually. Produce some network diagram perhaps.

          1 Reply Last reply Reply Quote 0
          • S
            shumy
            last edited by

            The problem is with the ESXi. I can put an ESXi management interface on the LAN and add a NAT, however I can't change the default gateway, it's a global configuration to all VMKernels. And so the packages are unable to get out!

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