TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

P7 - Secure pfSense Admin User Setup

pfSense Admin User Setup – Don’t Use the Default Admin Account

When installing pfSense firewall, the system automatically creates a default administrator account named admin. While this account is convenient during the initial setup, keeping it active long-term can introduce unnecessary security risks.

Attackers often attempt brute-force login attacks against well-known default accounts such as admin. For that reason, a best practice in network security is to create a dedicated administrator user and disable the default admin login.

In this tutorial, you will learn how to properly configure a pfSense Admin User, assign full administrator privileges, and disable the default admin account to strengthen your firewall security.


🔐 Why You Should Avoid the Default Admin Account

Using the default administrator account can create several security issues:

⚠️ Predictable username – attackers commonly target “admin”
⚠️ Higher brute-force risk – default accounts are frequently scanned
⚠️ Shared credentials – multiple administrators may use the same login
⚠️ Poor auditing – difficult to track who performed system changes

Creating a dedicated administrator account improves both security and accountability.


Step 1: Create a New Administrator User in pfSense

Navigate to:

System → User Manager → Users

Click Add and fill in the following information.

Username

 
it.baotran
 

Password

Set a strong password.

Full name

 
Bao Tran – System Engineer
 

Description

 
IT System Admin
 

After entering the information, save the user.

💡 Tip: Always use a strong password combining uppercase letters, lowercase letters, numbers, and symbols.


Step 2: Assign Administrator Privileges

After creating the user, select the user to be granted privileges → Edit

Locate the Privileges section and click Add.

Select:

 
WebCfg – All pages
 

This privilege allows:

• Log in to the WebGUI
• Configure all pfSense
• Same as admin privileges

This is full administrator privilege.

Granting this permission ensures the new account has the same management capabilities as the default admin account.


Step 3: Test Login

Before disabling the default administrator account, verify that the new account works correctly.

1️⃣ Log out of the pfSense WebGUI
2️⃣ Log in using the new administrator account

After logging in, you should see:

 
Username: it.system
 

displayed in the top right corner of the interface.

If the login is successful and all configuration menus are accessible, the new administrator account is working correctly.


Step 4: Disable Admin Login via GUI

Once the new admin account is confirmed working, you can disable the default admin login.

Navigate to:

System → User Manager → Users → admin

Enable the option:

Disable login

Reasons for disabling the default admin account:

• Prevent brute-force attacks
• Prevent account sharing
• Improve administrative accountability

The admin account should remain available only for console recovery, but not for WebGUI login.

This significantly reduces the attack surface of your pfSense firewall.


Step 5: Use Groups for Permission Management

For larger environments with multiple administrators, User Groups provide a more scalable approach to permission management.

You can:

✔ Create groups
✔ Assign privileges to groups
✔ Add users to those groups

This allows administrators to inherit the correct permissions automatically without configuring each user individually.

Using groups also simplifies role-based access control (RBAC) within pfSense.


Best Practices for pfSense Admin User Security

To maintain a secure pfSense environment, consider these recommendations:

🔹 Always create individual admin accounts for each administrator
🔹 Use strong and unique passwords
🔹 Disable default accounts when possible
🔹 Regularly review user privileges
🔹 Enable firewall management access restrictions

These practices help ensure your pfSense Admin User configuration remains secure and manageable.


Conclusion

Proper pfSense Admin User configuration is a simple yet critical step in securing your firewall. By creating a dedicated administrator account, assigning full privileges, testing access, and disabling the default admin login, you significantly reduce the risk of unauthorized access.

Implementing these security best practices will help maintain a safer and more professional pfSense deployment for your network environment. 🔒

See also related articles

P16 – VLANs on pfSense Made Easy: UniFi Setup Guide

P16 – VLANs on pfSense Made Easy: UniFi Setup Guide https://youtu.be/ep78Pokpvqc 🚀 Configure VLANs on pfSense for UniFi Network (Beginner Guide) Segmenting your network using VLANs is a fundamental practice in modern IT systems. It improves security, performance, and manageability—especially when deploying wireless networks like UniFi. In this guide, you...

Read More

P15 – VoIP on pfSense Made Easy: QoS Priority Setup

Pfsense – P15 Configure QoS for VoIP on pfSense (IP Phone Priority Setup) https://youtu.be/ZAok_lCChjU 🚀 Configure QoS for VoIP on pfSense (IP Phone Priority Setup) In modern business environments, voice and video communication are critical. Without proper traffic control, applications like VoIP, Microsoft Teams, or Zoom can easily suffer from...

Read More

P14 – Upgrade pfSense Safely: 2.7 to 2.8 Guide

P14 – Upgrade pfSense Safely: 2.7 to 2.8 Guide https://youtu.be/r_8iU6MC0Bs 🚀 Upgrade pfSense 2.7 to 2.8 – Full Tutorial for Beginners Upgrading pfSense to a newer version is essential to maintain security, performance, and compatibility with modern network environments. In this guide, you’ll learn how to upgrade pfSense from version...

Read More