Hi Louis,
Nslookup www.google.com<http://www.google.com>. shows the packetfence IP 
address.

Pf.conf:
[general]
#
# general.domain
#
# Domain name of PacketFence system.
domain=internal.uwic.ac.uk
#
# general.hostname
#
# Hostname of PacketFence system.  This is concatenated with the domain in 
Apache rewriting rules and therefore must be resolvable by clients.
hostname=pfence
#
# general.dnsservers
#
# Comma-delimited list of DNS servers.  Passthroughs are created to allow 
queries to these servers from even "trapped" nodes.
dnsservers=192.168.110.34, 192.168.110.48
#
# general.dhcpservers
#
# Comma-delimited list of DHCP servers.  Passthroughs are created to allow DHCP 
transactions from even "trapped" nodes.
dhcpservers=192.168.110.111,192.168.110.14
#
# general.timezone
#
# System's timezone in string format. Supported list:
# http://www.php.net/manual/en/timezones.php
timezone=Europe/London

[trapping]
#
# trapping.range
#
# Comma-delimited list of address ranges/CIDR blocks that PacketFence will 
monitor/detect/trap on.  Gateway, network, and
# broadcast addresses are ignored.
range=192.168.145.0/24,192.168.208.0/22,192.168.212.0/24,192.168.141.0/24,172.16.8.0/22,172.16.20.0/22,192.168.140.0/24
#
# trapping.passthrough
#
# When enabled, pfdns will resolve the real IP addresses of passthroughs and 
add them in the ipset session to give access
# to trapped devices. Don´t forget to enable ip_forward on your server.
passthrough=enabled
#
# trapping.passthroughs
#
# Comma-delimited list of domains to be used as HTTP and HTTPS passthroughs to 
web sites.
#
passthroughs=*.cardiffmet.ac.uk,*.uwic.ac.uk

[registration]
#
# registration.range
#
#
range=192.168.208.0/22

[alerting]
#
# alerting.emailaddr
#
# Email address to which notifications of rogue DHCP servers, violations with 
an action of "email", or any other
# PacketFence-related message goes to.
[email protected]
#
# alerting.smtpserver
#
# Server through which to send messages to the above emailaddr.  The default is 
localhost - be sure you're running an SMTP
# host locally if you don't change it!
smtpserver=*****.internal.uwic.ac.uk

[database]
#
# database.pass
#
# Password for the mysql database used by PacketFence.
pass=******

[expire]
#
# expire.locationlog
#
# Time which you would like to keep logs on location information
# Please note that this table should not become too big since it
# could degrade pfsetvlan performance.
# A value of 0D disables expiration.
# example:
# locationlog=180D
locationlog=120D

[captive_portal]
#
# captive_portal.secure_redirect
#
# If secure_redirect is enabled, the captive portal uses HTTPS when redirecting
# captured clients. This is the default behavior.
secure_redirect=disabled

[interface eth0]
enforcement=vlan
ip=192.168.208.4
type=internal
mask=255.255.252.0

[interface eth1]
ip=192.168.101.103
type=management
mask=255.255.255.0

[interface eth2]
ip=192.168.225.17
type=high-availability
mask=255.255.255.252

[interface eth3]
enforcement=vlan
ip=192.168.212.4
type=internal
mask=255.255.255.0

networks.conf:
[192.168.208.0]
dns=192.168.208.4
dhcp_start=192.168.208.10
gateway=192.168.208.4
domain-name=vlan-registration.internal.uwic.ac.uk
named=enabled
dhcp_max_lease_time=30
dhcpd=enabled
fake_mac_enabled=enabled
dhcp_end=192.168.211.246
type=vlan-registration
netmask=255.255.252.0
dhcp_default_lease_time=30

[192.168.212.0]
dns=192.168.212.4
dhcp_start=192.168.212.10
gateway=192.168.212.4
domain-name=vlan-isolation.internal.uwic.ac.uk
named=enabled
dhcp_max_lease_time=30
dhcpd=enabled
fake_mac_enabled=enabled
dhcp_end=192.168.212.246
type=vlan-isolation
netmask=255.255.255.0
dhcp_default_lease_time=30

Cheers,
Andi

From: Louis Munro [mailto:[email protected]]
Sent: 12 June 2014 18:34
To: [email protected]
Subject: Re: [PacketFence-users] Captive portal issues - page can't be displayed



On 2014-06-12, at 11:18 , "Morris, Andi" 
<[email protected]<mailto:[email protected]>> wrote:


Hi all,
For some reason my captive portal doesn't show users any websites, including 
the Packetfence captive portal. In IE I get the 'Page Cannot be displayed' 
error, and Chrome I get 
thelinkhelp.clients.google.com<http://linkhelp.clients.google.com> error 
message where it reports "Something is currently interfering with your secure 
connection".


Doing a service packetfence restart from the command prompt shows the following 
warning, I'm not sure if it's related:
WARNING - invalid parameter nbregpages for profile default

Hi Andi,
Could you post your pf.conf file (stripped of passwords and comprising 
information) please?

Also, try nslookup www.google.com<http://www.google.com>.    (with a dot at the 
end).




The warning about nbregpages is annoying but should not cause this problem.

Regards,
--
Louis Munro
[email protected]<mailto:[email protected]>  ::  
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 *125  :: +1 (866) 353-6153
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to