Developers guide

Chapter 5
Copyright © 2008-2013 Inverse inc.
Configuration 14
Web-based Administration Interface
PacketFence provides a web-based administration interface for easy configuration and operational
management. If you went through PacketFence’s web-based configuration tool, you should have set the
password for the admin user. If not, the default password is also admin.
Once PacketFence is started, the administration interface is available at: https://
@ip_of_packetfence>:1443/
Global configuration file (pf.conf)
The /usr/local/pf/conf/pf.conf file contains the PacketFence general configuration. For example,
this is the place where we inform PacketFence it will work in VLAN isolation mode.
All the default parameters and their descriptions are stored in /usr/local/pf/conf/
pf.conf.defaults.
In order to override a default parameter, define it and set it in pf.conf.
/usr/local/pf/conf/documentation.conf holds the complete list of all available parameters.
All these parameters are also accessible through the web-based administration interface under the
Configuration tab. It is highly recommended that you use the web-based administration interface of
PacketFence for any configuration changes.
Apache Configuration
The PacketFence´s Apache configuration are located in /usr/local/pf/conf/httpd.conf.d/.
In this directory you have three important files: httpd.admin, httpd.portal, httpd.webservice.
httpd.admin is used to manage PacketFence admin interface
httpd.portal is used to manage PacketFence captive portal interface
httpd.webservices is used to manage PacketFence webservices interface
These files have been written using the Perl language and are completely dynamic - so they activate
services only on the network interfaces provided for this purpose.