Proxy For PFSense: installation
Enable Proxy For PFSense, choose the network card facing pfSense and check that the proxy is ready.
Installing the feature changes nothing on pfSense.
It opens the interception ports on the proxy and prepares the network of the appliance.
You create the pfSense objects afterwards, with the pfSense wizard.
Before you start
- The proxy service is installed on the Artica appliance.
- The appliance has a network card on the pfSense interface reserved for the proxies (for example OPT1), with an IPv4 address.
- The FortiGate WCCP mode is not active on this appliance.
The feature is blocked while it is.
1. Enable the feature
Open Your system > Features.
Type pfsense in the search field.
Click Install on the Proxy For PFSense line.

2. Choose the network card that faces pfSense
Artica first asks which network card receives the traffic from pfSense.
Its address is the gateway address you will declare on pfSense.
Select the card in Listen interface and click Apply.
The installation starts right after.

The same card is used by the FortiGate transparent integration.
Changing it on one page changes it on the other.
On an appliance with several network cards, the installation fails with the message select the interface that faces pfSense first if no card was chosen.
Nothing is enabled in that case.
Choose the card and install again.
3. Wait for the end of the installation
The Feature action window follows the job.
It closes on The action completed successfully.

During the installation Artica:
- loads the TPROXY kernel modules and enables IP forwarding,
- adds the TPROXY routing table and firewall rules on the chosen card,
- declares two interception ports in the proxy: 35025 for HTTP and 35026 for HTTPS,
- reloads the proxy.
The left menu is refreshed at the end.
Under Your proxy, the Fortigate entry is replaced by PFsense.

4. Check that the proxy is ready
Open Your proxy > PFsense.
The Status tab says whether the proxy is ready to receive pfSense traffic.
It shows the two values you need on pfSense:
- Gateway address for pfSense: the IPv4 address of the chosen card.
- Network card facing pfSense: the card itself.
Each value has a copy button.
Change the network card opens the same window as in step 2.
Three cards group the checks:
- The proxy is running: the proxy service runs and the legacy WCCP service is off.
- The interception doors are open: ports 35025 and 35026 are listening.
- The network is prepared: interface address, kernel modules, IP forwarding, routing table and firewall rules.
These five checks are folded when they are all OK.
The page refreshes every 10 seconds.
Ready only covers the proxy side.
It does not prove that pfSense already sends traffic to this proxy.
The last step of the wizard tells you how to check that.
Audit details, under the service status on the left, lists every check with its result.

When a check fails, the page names it and the readiness turns to Not ready to receive pfSense traffic.
Fix the failed check, then click Refresh.
If the address of the card changed after the installation (new DHCP lease, new address set by hand), the page shows an amber warning with the current address.
The proxy is then not ready.
Install the feature again to apply the new address.
Before the installation
Until the feature is installed, the PFsense page shows an invitation instead of the checks.
Install starts the same installation as the features page.
Choose the network card opens the window of step 2.

Uninstall
Click Uninstall in the header of the PFsense page, or on the features page.
Artica closes the interception ports and removes the TPROXY rules, unless the FortiGate transparent integration was already running before the pfSense installation.
In that case the FortiGate integration keeps running and only the pfSense feature is turned off.
Remove the pfSense rule that sends web traffic to the proxies before you uninstall.
Otherwise pfSense keeps sending traffic to a proxy that no longer intercepts it, until its gateway is declared down.
Command line
articarest -install-pfsense-proxy
articarest -uninstall-pfsense-proxy
articarest -pfsense-rules
-pfsense-rules prints the wizard steps as text.