Skip to Content
Egirna Technologies
    Contact Us
  • Home
  • About Us
  • Services
  • Blog
  • Events
  • Jobs
Egirna Technologies
      • Home
      • About Us
      • Services
      • Blog
      • Events
      • Jobs
      Contact Us
  • All Blogs
  • News
  • Configuring SSH, User Manager, & Interfaces on pfSense
  • Configuring SSH, User Manager, & Interfaces on pfSense

    June 23, 2022 by
    Configuring SSH, User Manager, & Interfaces on pfSense
    Amany Mahmoud
    | No comments yet


    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

    References:

    • pfSense Docs


    in News
    Sign in to leave a comment

    Read Next
    Configuring Floating Rules & Aliases on pfSense Firewall

    Explore  

    Privacy Policy

    Terms & Conditions

    Our Locations

    An address must be specified for a map to be embedded
    Free Zone Services Complex , Ismailia Free Zone ,Ismailia 41511, Egypt


    Get in Touch

    • sales@egirna.com
    • +201150995051

        Follow Us

    Social Media