Configuring SSH, User Manager, & Interfaces on pfSense

pfSense The pfSense project is a free open source customized distribution of FreeBSD tailored for use as a firewall and router entirely managed by an easy-to-use web interface. No FreeBSD knowledge is required to deploy and use pfSense software. In this article, we'll be configuring SSH, granting a user with admin privileges, as well as adding an interface to pfSense under its system configuration.

  1. Enable SSH on pfSense

SSH is typically used for debugging, troubleshooting, and installing system packages that are not available in GUI.

  • Login to pfSense Navigate to System > Advanced

  • Scroll to Secure Shell
  • Secure Shell Server > Enable Secure Shell
  • SSHd key only > password and public key
  • SSH Port > 22 or change it if you're willing to use a different port number Note: you might get an error leaving this field blank.
  • Save

  • Test SSH from the terminal by using these commands
$ ssh user@pfSense_IP 
Enter your password:

You should be able to this image when you successfully log in.

2. User ManagerUser Manager gives control to different users or user groups over what can be done on pfSense. Here, we'll create a user with admin privileges in the admin user group.

  • Navigate to System> User Manager> Add

  • Add the users:
  • Username
  • Password
  • Group Membership > Click on admins > Move to "member of" list
  • Save

3. Add LAN interface In this section, we'll add a LAN interface to use in remote access.

  • Navigate to Interfaces > Assignments > LAN
  • Select the network port corresponding to your interface> Save
  • Navigate to Interfaces > Assignments > LAN

  • Enable > Enable interface
  • IPv4 Configuration Type > DHCP > Save > Apply Changes

NOTE: You must disable the pfSense firewall from the shell to load its GUI again by running these commands:

$ pfSsh.php playback enableallowallwan
$ pfctl –d


in News
Configuring Floating Rules & Aliases on pfSense Firewall