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

    Squid: how to "catch" 8080 port web traffic

    Cache/Proxy
    3
    7
    1.4k
    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
      genseb
      last edited by

      Hi,

      It seems that our Squid Proxy don't catch web traffic when the port is different than 80 and 443.

      As an exemple, when we try to access to a website on port 8080, it doesn't appear in access.log.

      How can we enable filter on other ports than 443 and 80?

      I've already tried to add 8080 in "ACL SafePorts" (even if is already included in default list 21 70 80 210 280 443 488 563 591 631 777 901 1025-65535)

      Technical informations:

      -Pfsense 2.4.4-RELEASE-p1

      Thanks.

      vallumV 1 Reply Last reply Reply Quote 0
      • vallumV
        vallum @genseb
        last edited by

        @genseb there is ACl SSL option for safe ports , make sure to add 8080 there.

        Manu

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

          Thanks for your answer.

          I've already tried but didn't work. Still no log and filter 8080 port.

          vallumV 1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            Doesn't squid currently work by adding NATs to redirect all port 80/443 traffic to 127.0.0.1? Maybe you could add your own LAN NAT and try it for 8080.

            1 Reply Last reply Reply Quote 0
            • vallumV
              vallum @genseb
              last edited by

              @genseb said in Squid: how to "catch" 8080 port web traffic:

              Thanks for your answer.

              I've already tried but didn't work. Still no log and filter 8080 port.

              are you able to access server with port 8080 directly?
              where this server is located ?

              Manu

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

                Yes, I can access the server on port 8080 directly. The server is located in a cloud platform.

                My "issue" is that squid only logs connection on 443 and 80 port. When I access servers on other ports, servers are accessible, web pages well serves etc. but nothing logged.

                My Squid is in transparent mode and my pfsense is defined as gateway of my network (1 NIC as LAN and 1 as WAN) so currently everything passthrough pfsense.

                The only way I'll find to reach my goal is to forward port 8080 on 3128 but can't do it for every port... so it seems to be a weird thing so I think I'm not on the right way with this solution.

                vallumV 1 Reply Last reply Reply Quote 0
                • vallumV
                  vallum @genseb
                  last edited by vallum

                  @genseb I have not used transparent proxy.
                  may be it should create automatic NAT when you add port there in Safe_ACL.
                  Pfsense is a Good firewall, but lot of issues in proxy.

                  Manu

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