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

    How to redirect some website to pfsense local squid proxy?

    NAT
    3
    4
    3.0k
    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.
    • B
      BennyS
      last edited by

      Hello all,

      I want to proxy some web like frienster and some antivirus update, windows update etc etc.
      I try add some address to Alias "cacheme"
      but i can't portforward to transparent squid only the IP adress inside "cacheme Alias"

      for example:

      table <cacheme>{ 209.11.0.0/16, 206.204.52.0/12, 207.46.18.0/8 }

      rdr on sk0 proto tcp from 192.168.0.0/24 to <cacheme>port 80
        -> 127.0.0.1 port 3128

      How to do it in pfsense?

      regard,
      B.</cacheme></cacheme>

      1 Reply Last reply Reply Quote 0
      • B
        BennyS
        last edited by

        bump  ???

        1 Reply Last reply Reply Quote 0
        • T
          tinto
          last edited by

          bump bump …

          1 Reply Last reply Reply Quote 0
          • M
            mrsense
            last edited by

            You should post your question in packages.  To redirect only certain traffic to squid proxy you'll need to edit squid.inc by hand and create an alias that will build your table.  Take a look at this post:

            http://forum.pfsense.org/index.php/topic,6439.0.html

            (note that squid package was updated since above post so inc file might look a little different now)

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