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

    SquidProxy using OpenVPN Tunnel

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 553 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.
    • F
      famid
      last edited by famid

      I have a standard setup running, NATing all traffic from my LAN to WAN. Additionally I want to setup a VPN Client Connection to a VPN Provider (NordVPN) and use a Squid Proxy to send all traffic originating from the Proxy through the tunnel (leaving the "regular" traffic not using the Proxy as is).

      I managed to set up the VPN Client via OpenVPN, configured a new interface using the new connection, added a "pass all" rule to the interface, setup Squid, configured Squid to use the Tunnel Interface for outgoing traffic, configured squid to use different DNS Server (8.8.8.8).

      The frustrating thing is it works a bit! When configuring my browser to go through the proxy and open wikipedia (all caches cleared) it loads a bit. The website makes about 9 requests to load the page and its resources. Some requests do work others time out not getting any data back.
      If I reconfigure the proxy to use the WAN interface for outgoing traffic all works well, so it must have something to do with the OpenVPN tunnel.

      Does anybody use a similar setup ? Any ideas on how to debug further?

      Thank you for your replies.

      1 Reply Last reply Reply Quote 0
      • J
        johnnyy
        last edited by stephenw10

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