Developers guide

Chapter 5
Copyright © 2008-2013 Inverse inc.
Configuration 35
Proxy Interception
In PacketFence you are now able to intercept proxy request and forward them to the captive portal. It
only work in layer 2 network because packetfence must be the default gateway of your device. In order
to use the Proxy Interception feature, you need to enable it from the GUI in Configuration Trapping
and check Proxy Interception.
Add the port you want to intercept, like 8080 3128 and add a new entry in the /etc/hosts file to resolv
the fqdn of the captive portal to 127.0.0.1. The modification of the hosts file is really important because
apache try to resolv the fqdn of the captive portal and it must be 127.0.0.1.