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

    Slow speed on redirect to internal server through squid proxy.

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 769 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.
    • G
      grheard
      last edited by

      I'm sure this has been asked and answered before, but my search foo is coming up nil.

      I have a public domain name that points to my WAN address. I have a port forward to an internal web server. My entire internal network is gigabit ethernet. If I upload a file to the webserver using its LAN address, I get near gigabit speeds (within reason, disk writes, etc.). When a host inside the network uses the fully qualified domain name to upload the same file I get roughly 1/4 of the original speed. My router hardware is an Intel(R) Atom(TM) CPU D2550 @ 1.86GHz with dual gigabit interfaces and 2GB of memory.

      EDIT: This only happens when using the squid proxy. If I disable my proxy setup for a straight NAT setup the speed is unaffected.

      EDIT2: When the file upload is in progress, the process (squid-1) -f /usr/local/… reached 100% on a single CPU.

      Can someone please explain to me why there is such a dramatic degradation in speed? Any suggestions on correcting it?

      Thanks!

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

        " Any suggestions on correcting it?"

        Your on the local lan right… then use the local IP, if you want to use the same public fqdn to access it then just setup a host override so that internal boxes resolve your public fqdn to your internal IP.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.