Navigation

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

    Use Squid for IPSec HTTP Traffic

    pfSense Packages
    1
    2
    1726
    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.
    • S
      scream88 last edited by

      Hi all

      I read a lot of topics and search for many hours for a solution that solve my problem. I can't find anything that works.

      My Problem:

      IPSec for Roadwarrior Clients with redirect Gateway. That means, every Client Traffic goes to the IPSec tunnel. This is for Security reasons (e.x. Free unencrypted WiFi).

      Now I installed squid & squidguard in transparent mode on my pfsense. That works great for all clients in LAN.

      All the Traffic from the IPSec Clients not pass squid and go directly to the internet (I think because Input Interface = IPSec / Output Interface = WAN, so don't pass LAN).

      So I found the idea to make a Redirect NAT (Source: IPSec Subnet (192.168.10.0/24), Destination: NOT LAN Subnet (!192.168.1.0/24), Original Port TCP 80, Translated Port TCP 3128, Redirected IP: 192.168.1.1)

      Now the browser from my IPSec Client only shows a error message "Invalid Request" from Squid. How i can fix this? Any Ideas?

      Thanks a lot.

      1 Reply Last reply Reply Quote 0
      • S
        scream88 last edited by

        I can't see the forest for the trees.

        Now I configured a Proxy in the VPN-Settings for the Client.
        Then I added a Rule on IPSec Interface that blocks all HTTP/HTTPS Traffic not going to the Proxy or the LAN Subnet.

        It seems to work fine now.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy