This guide provides a simple-to-follow guide on how to whitelist IP addresses in pfSense. pfSense is a free, open-source firewall and router that features unified threat management, load balancing, multi WAN, and more. This procedure secure your network by allowing only specified IPs through the firewall. If you’re an admin seeking to tighten security, you can follow these step-by-step instructions to configure firewall rules within your pfSense interface.
Log in to your pfSense firewall via the web interface. To access the pfSense management panel, proceed to your preferred web browser and access the pfSense web panel by running https://[Firewall_IP] in the search bar. Proceed to site when you get a security notification. This is a default message, since the pfSense panel is not secured with SSL certificate by default. You can safely ignore this message.
Go to Firewall > Rules located at the top menu of the page
Click on the green “add” button to add a new rule at the bottom of the page.
In the ‘Action’ field, you can specify to either ALLOW, DROP or REJECT the incoming traffic. Since we want to allow IP addresses, choose ALLOW.
Under the protocol field, you can specify to which IP protocol the rules should match. For example Any, TCP, or UDP.
In the Source field, click on ANY and pick the Address or Alias option. Specify the source IP address that you want to whitelist.
In the Destination section, you can leave it “any” if you want to whitelist the source IP address to all servers behind the firewall (if there are more than one). Or choose Address or Alias option and specify the internal IP address of the server.
Apply Changes: Click “Save” and then “Apply Changes” to activate the rule.
Have additional questions? Search below: