Artica Wiki

Proxy For PFSense: installation

Enable Proxy For PFSense, choose the network card facing pfSense and check that the proxy is ready.

Back to Proxy For PFSense

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

1. Enable the feature

Open Your system > Features.
Type pfsense in the search field.
Click Install on the Proxy For PFSense line.

The Proxy For PFSense feature on the features page

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.

Choosing the interface facing pfSense

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.

The installation succeeded

During the installation Artica:

The left menu is refreshed at the end.
Under Your proxy, the Fortigate entry is replaced by PFsense.

The PFsense entry in the left menu

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:

Each value has a copy button.
Change the network card opens the same window as in step 2.

Three cards group the checks:

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.

The audit details

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.

The page before the installation

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.