PacketFence - BTS - PacketFence
View Issue Details
0001800PacketFencecaptive portalpublic2014-05-28 09:102014-06-02 08:07
jwesleyb 
fdurand 
normalminoralways
resolvedfixed 
64bitsCentOS6.5
4.2.0 
 
0001800: Packetfence does not redirect to register
Hi, I'm having trouble with my PF because it is not redirecting to the captive portal. I have a network in inline mode with two interfaces (eth0 - inline / eth1 - management)
#vim /usr/local/pf/conf/pf.conf

[general]
domain=localhost
hostname = localhost
dnsservers = 10.1.1.1
dhcpservers = 10.1.1.1

[alerting]
emailaddr=j.wesley7@yahoo.com.br

[database]
pass=mypass

[captive_portal]
secure_redirect=disabled

[interface eth0]
enforcement=inline
type=internal
ip=192.168.1.1
mask=255.255.255.0

[interface eth1]
ip=10.1.1.58
gateway=10.1.1.1
type=management
mask=255.255.255.0

#vim /usr/local/pf/conf/networks.conf

[192.168.1.0]
netmask=255.255.255.0
gateway=192.168.1.1
next_hop=
domain-name=inline.localdomain
dns=8.8.8.8
dhcp_start=192.168.1.10
dhcp_end=192.168.1.120
dhcp_default_lease_time=300
dhcp_max_lease_time=600
type=inline
named=disabled
dhcpd=enabled

#vim /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
VLAN=yes

#vim /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1
BOOTPROTO=dhcp
NETWORK=10.1.1.0
ONBOOT=yes
TYPE=Ethernet
No tags attached.
Issue History
2014-05-28 09:10jwesleybNew Issue
2014-05-29 13:51jwesleybNote Added: 0003544
2014-06-02 08:07fdurandStatusnew => resolved
2014-06-02 08:07fdurandResolutionopen => fixed
2014-06-02 08:07fdurandAssigned To => fdurand

Notes
(0003544)
jwesleyb   
2014-05-29 13:51   
I managed to solve, thank you!