Artica Wiki

Proxy For PFSense: web filtering for pfSense networks

Send the web traffic of a pfSense firewall to Artica Proxy without any browser setting, with fail-open and farm support.

Back to Artica Proxy

pfSense is a good firewall.
It no longer has a maintained web proxy.
Netgate deprecated the Squid, SquidGuard and Lightsquid packages in October 2023 and never replaced them.
Sites protected by a pfSense have had no maintained web filtering since.

Proxy For PFSense gives these networks a full Artica Proxy without touching the firewall you already trust.
pfSense keeps routing, NAT and VPN.
It hands web traffic (TCP ports 80 and 443) to one or more Artica proxies.
Artica filters it, inspects it, logs it and sends it on to the Internet.

Users notice nothing.
Browsers need no proxy setting and no PAC file.
The proxy sees the real IP address of every client, so your reports, rules and legal logs name the right computer.

The Proxy For PFSense page on an Artica appliance

What you gain

Use cases

How it works

pfsenseWithARtica.png

  1. A rule on the client interface of pfSense sends TCP ports 80 and 443 to a gateway that points to the Artica proxy.
  2. Artica intercepts the packets transparently on the interface facing pfSense.
  3. The proxy fetches the page and goes out to the Internet through pfSense, like any other host.
  4. pfSense pings each proxy.
    A proxy that stops answering leaves the rule, and pfSense routes around it.

The proxy must sit on a pfSense interface of its own, for example OPT1.
pfSense 2.9 binds connection states to the interface they arrived on.
A proxy placed on the client LAN would get asymmetric return traffic, and a proxy placed on the WAN side would only see the address of pfSense.

Requirements

Good to know

Managing a farm with Artica Meta

An Artica Meta pfSense policy carries the pfSense settings for several proxies at once.
Meta builds the member list from the attached nodes that report a gateway address and are ready.
It then computes a pfSense gateway group: every proxy on the same tier for load balancing, or one tier per proxy for failover.
You set the order of the proxies with a rank on the Targets tab of the policy.
The wizard on each node and in the Meta console shows exactly the same steps.
While a node is managed by the policy, its pfSense settings are read only on the node.

Documentation