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

    Force specific trafic to use squid

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 1.6k 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.
    • C Offline
      chocoboss
      last edited by

      Hi, first of all, sorry for my bad english

      I will try to explain you my problem as I can.

      I'm working for a school atm, our computer are filtred using squid ( X.X.X.X:800 )
      but when students come with there laptop they usually don't have proxy set so squid become useles …

      I have try different way like NAT 80 -> 800 or cross the transparent mode but nothing works, so if you have an idea, please tell me :)

      Sincerly Jonathan :)

      EDIT : I use pfsense 2.1

      1 Reply Last reply Reply Quote 0
      • marcellocM Offline
        marcelloc
        last edited by

        Configure your firewall to block traffic and configure automatic proxy detect on your network.

        http://blog.ninjatek.co.za/2010/11/proxy-autodetection-using-pac-file-and.html

        squid with transparent proxy can catch http(not https) traffic too.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • C Offline
          chocoboss
          last edited by

          first of all thank you for your answer, but I don't think we can apply this atm.

          do you think this will work ? It should redirect all 80 port to 800

          1 Reply Last reply Reply Quote 0
          • marcellocM Offline
            marcelloc
            last edited by

            @chocoboss:

            first of all thank you for your answer, but I don't think we can apply this atm.

            do you think this will work ? It should redirect all 80 port to 800

            Why don`t you enable transparent squid proxy?

            when you enable it, squid create a rule on pf to forward http traffic to squid port.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

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