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

    Configure Squid to redirect traffic on the OpenVPN interface

    Scheduled Pinned Locked Moved OpenVPN
    12 Posts 2 Posters 824 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      It should be no different than any other interface. Just select it in Squid as an interface to listen on.

      If it's not working you may get better results be assigning the OpenVPN server as an interface and then setting Squid to listen on that instead. If you do that remember to move rules to the assigned interface rather than the global OpenVPN interface and restart the server after assigning it.
      https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/assign.html

      Steve

      ? 4 Replies Last reply Reply Quote 0
      • ?
        A Former User @stephenw10
        last edited by

        @stephenw10 Send me screenshots
        where should you select in Squid as the interface to listen?
        In Italian it has another name and I can't find it

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @stephenw10
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @stephenw10
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @stephenw10
              last edited by

              @stephenw10 ACLs
              Immagine.jpg

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by stephenw10

                In the Proxy Interfaces field. And the Transparent Proxy Interfaces field if you need to redirect.

                Select OpenVPN as well as LAN.

                Steve

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @stephenw10
                  last edited by

                  @stephenw10 but do I have to put only the openvpn interface? or select both the LAN interface and the openvpn interface and leave them both active?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    You have to select both if you want clients on each to use Squid for http traffic.

                    ? 3 Replies Last reply Reply Quote 0
                    • ?
                      A Former User @stephenw10
                      last edited by

                      @stephenw10 ok i did as you told me and it works.
                      I am left with only pfbloker how to route traffic on openvpn.
                      I opened a post but they didn't understand the question

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @stephenw10
                        last edited by

                        @stephenw10 help me in the other post I have problems with the language in technical terms
                        https://forum.netgate.com/topic/160848/configure-pfblokerng-to-redirect-traffic-on-the-openvpn-interface/5?_=1613428301778

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @stephenw10
                          last edited by

                          @stephenw10 thank you :-)

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