Hello, I have installed and succesfully configured a standard captive portal with inline enforcement. However, i want to test it without registration before going live. I want the clients access internet without registration for a few days. In the meantime, i want to be able to see nodes from web gui.
I tried to set trapping.registration=disabled. In this case, instead of captive portal registration page, i am getting a page that says that my connection will be enabled and if not i should reboot my computer. This seems to be right but i am not getting connected. Pf version is 3.3.2 What may be wrong? Is it possible to use skip_mode here? If so, should i set trapping.registration=disabled when i use registration.skip_mode? Here is my pf.conf... trapping.registration is enabled here. This works correctly. When i set it to disabled i'm having problems. [general] # # general.domain # # Domain name of PacketFence system. domain=nexus # # general.hostname # # Hostname of PacketFence system. This is concatenated with the domain in Apach e rewriting rules and therefore must be resolvable by clients. hostname=pf [trapping] # # trapping.range # # Comma-delimited list of address ranges/CIDR blocks that PacketFence will monit or/detect/trap on. Gateway, network, and # broadcast addresses are ignored. range=172.24.1.0/24 # # trapping.registration # # If enabled, nodes will be required to register on first network access. Furth er registration options are configured in the # registration section. registration=enabled detection=enabled passthrough=disabled [database] # # database.pass # # Password for the mysql database used by PacketFence. pass=sonnybonds [servicewatch] # # servicewatch.restart # # Should pfcmd service pf watch restart PF if services are not running? # You must make sure to call the watch command. Installing it in the cron is the # recommended approach: # */5 * * * * /usr/local/pf/bin/pfcmd service pf watch restart=enabled [interface eth0] ip=192.168.1.1 mask=255.255.255.0 gateway=192.168.1.10 type=management [interface eth1] ip=172.24.1.1 mask=255.255.255.0 gateway=172.24.1.1 type=internal,monitor enforcement=inline [expire] node=10m iplog=10m traplog=10m locationlog=10m [registration] guests_self_registration=enabled expire_mode=window range=172.24.1.0/24 expire_window=1D auth=preregistered_guests,local default_auth=preregistered_guests skip_mode=deadline skip_deadline=2012-06-12 12:00:00 [guests_self_registration] modes=email,sponsor sponsor_authentication=guest_managers [captive_portal] network_detection=disabled Here is my networks.conf [172.24.1.0] type=inline netmask=255.255.255.0 gateway=172.24.1.1 next_hop= named=enabled dns=208.67.222.222 domain-name=inline.nexus dhcpd=enabled dhcp_start=172.24.1.150 dhcp_end=172.24.1.180 dhcp_default_lease_time=20 dhcp_max_lease_time=20 Thanks... -- Osman Kazdal [email protected] /"\ \ / ASCII Ribbon Campaign X against HTML e-mail / \ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
