pfSense Firewall
pfSense is an open-source firewall and router software based on FreeBSD designed to provide advanced firewall and routing capabilities, including network address translation (NAT), VPN (Virtual Private Network) support, traffic shaping, and more.
Installing pfSense
Firstly downlod the pfSense Community Edition on their website
Deploy the VM as usual, then power it on
Choose install
Here select the disk for the installation
After all finishes, reboot it
After a reboot, configure the Interface and IP Addressing through CLI
Now the Web UI should be accessible on the LAN interface with default credential of admin/pfsense
The pfSense Firewall is up and running
Allowing Management Access on WAN Interface
By default we are only allowed to access the firewall on the LAN interface, to enable the WAN access add a WAN firewall rule to enable the traffic
Now the WAN interface is accessible
Configuring Internet Access for Clients
First, on Firewall » NAT » Outbound, create a NAT rule for our LAN network
Next create a LAN Firewall Rule to allow traffic coming from 10.0.0.0/24
That’ll do it, now the clients should have internet access through pfSense Firewall
On Status » System Logs » Firewall, we can see the clients traffic flowing through the Internet Access Rule