::
FIG 2.1 // ENTRY
Back to Index

Proxy ARP on the PFSense

Date:
Proxy ARP on the PFSense Hero Image

What is Proxy ARP?

Proxy ARP is a technique by which a proxy server on a given network answers the Address Resolution Protocol (ARP) queries for an IP address that is not on that network.

- Wikipedia

Proxy ARP allows a firewall to answer requests for IP addresses that don’t belong to it physically but are routed through it. I commonly use this to firewall off specific networks or allow access to resources across VPN tunnels—like the IPSec tunnel in this example.

IPSec Tunnel

First, establish and verify the tunnel between the two networks. Ensuring identical configurations on both sides is key. For details, refer to the pfSense IPSec documentation.

IPSEC tunnel

Local Network

In this scenario, the LAN is 192.168.1.0/24. We will add a new Proxy ARP Virtual IP on the pfSense.

Virtual IP

Since we are defining a single IP, use a /32 bitmask. This adds an entry to the firewall’s ARP table. While the firewall won’t reply to ICMP pings for this address, it will accept and route traffic destined for it.

Forwarding to the Remote Network

The goal is to forward traffic from a LAN address (192.168.1.30) to a server on the remote network (192.168.2.30) across the tunnel.

We achieve this with a Port Forwarding rule.

Port Forwarding

Configure the rule to forward traffic (TCP, UDP, ICMP, or specific ports) from the local Proxy ARP address to the remote server’s IP. Once active, LAN users can access the remote server using the local address.