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

    Weird behaviour - NAT

    Scheduled Pinned Locked Moved NAT
    5 Posts 2 Posters 2.2k 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
      g0x
      last edited by

      Something wierd is happening here and i cant find what could it be
      So im asking you for some help / advises

      I have squid package installed on my pfsense box
      i´ve made a rule at lan that says this all traffic from lan go to port 3328 (squid proxy port)

      Proto->tcp
      Source->Lan Address
      Port->*
      Destination->Wan Address
      Port->3328
      Gateway->*

      But before this rule i have two other rules that allow two ip's to bypass squid and get out to the internet without any proxy

      Proto->*
      Source->192.168.3.12
      Port->*
      Destination->*
      Port->*
      Gateway->*

      I guess its all ok and working, but here starts the wierd thing… when im using squid proxy i can open web pages in 1 or 2 seconds even new pages without any cache.
      But when im browsing without using the proxy (192.168.3.12) web pages take like 15sec's do open, even if i try to ping some url it takes a while before start answering the ping again like 10 sec's

      Why this happens any one have a clue?

      Tkx

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Can you be more specific on your setup?!

        Seems you have a loop somewhere on your config

        1 Reply Last reply Reply Quote 0
        • G
          g0x
          last edited by

          Hi Eri–

          Thanks for your help

          My setup is quite simple
          I have my DSL Modem (not router) connected to Pfsense box, a 8 ports switch to a windows 2003 server which is domain controler (dns server + DHCP server) with exchange server.
          I have squid configured at my pfsense box with those rules above

          Do you have any clue?

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            I want your NAT, RDR and rules config :)

            1 Reply Last reply Reply Quote 0
            • G
              g0x
              last edited by

              Ok m8

              Here it goes

              1.JPG
              1.JPG_thumb
              2.JPG
              2.JPG_thumb
              3.JPG
              3.JPG_thumb

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