From: Morris, A. <am...@ca...> - 2012-01-30 16:02:33
|
Ah, I see, I actually had that set to the management interface of the packetfence server. I need to try and figure out the routing so that I can allow access to one IP from several different production vlans, but that sounds perfectly feasible. Cheers, Andi -----Original Message----- From: Olivier Bilodeau [mailto:obi...@in...] Sent: 30 January 2012 15:13 To: pac...@li... Subject: Re: [Packetfence-users] URL redirection not taking place > >> but that is because I don't actually have internet access on the dev network, but that is something I'm working on. > If your Internet is not working, the automatic redirection won't work. > By default, we are pulling a 1px image from our website. If it fails, > you have no internet, if it works, it means the internet is working > and we redirect the user. > Actually this is controllable by a pf.conf parameter: > [captive_portal] > # captive_portal.network_detection_ip > # > # This IP is used as the webserver who hosts the > common/network-access-detection.gif which is used to detect if network # access was enabled. > # It cannot be a domain name since it is used in registration or quarantine where DNS is blackholed. > # It is recommended that you allow your users to reach your packetfence server and put your LAN's PacketFence IP. > # By default we will make this reach PacketFence's website as an easy solution. > # > network_detection_ip = 67.205.85.245 In your case you can put PacketFence's IP on the 'production' network and make sure that the http://<ip>/common/network-access-detection.gif is reachable from there. You might need to adjust firewall settings (conf/iptables.conf). This is covered in more details under "Configuration" -> "Captive Portal" in the Admin guide. -- Olivier Bilodeau obi...@in... :: +1.514.447.4918 *115 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Packetfence-users mailing list Pac...@li... https://lists.sourceforge.net/lists/listinfo/packetfence-users ________________________________ >From 1st November 2011 UWIC changed its title to Cardiff Metropolitan University. From the 6th December, as part of this change, all email addresses which included @uwic.ac.uk have changed to @cardiffmet.ac.uk. All emails sent from Cardiff Metropolitan University will now be sent from the new @cardiffmet.ac.uk address. Please could you ensure that all of your contact records and databases are updated to reflect this change. Further information can be found on the website here.<http://www3.uwic.ac.uk/English/News/Pages/UWIC-Name-Change.aspx> |