Actually I don't need inline ...

In the configuration you suggest, where do you say that eth1 is the 
inteface that the captive portal must use for internet browsing.

thanks,
Paolo



Il 13/06/2012 11:22, [email protected] ha scritto:
> I dont use inline, so i cant help, sorry.
>
> But, in your config, you need 1 more interface.
>
> #navigation VLAN
> [interface eth1]
> type=internal
> enforcement=vlan
> ip=X.X.X.X
> mask=X.X.X.X
> gateway=X.X.X.X # different to IP !
>
>
> #registration networks
> [interface eth0]
> type=internal
> ip=10.118.104.200
> mask=255.255.255.0
> gateway=10.118.104.200
> enforcement=vlan
>
> #MGMT
> [interface eth2]
> type=management
> ip=10.118.122.159
> mask=255.255.255.0
> gateway=10.118.122.1
>
> I assume  that 10.118.104.0 is not your prodution networks, it's
> isolated, for registration.
>
>
>
> Paolo Caforio<[email protected]>  a écrit :
>
>> Thanks,
>>
>> I have one more interface to use.
>> Looking at my needs, how do you suggest to modify my configuration?
>> If i put on interface eth0 the inline enforcement I cannot see the
>> captive portal anymore and I have no access to internet.
>>
>> How can I check if my PC is correctly registered and my Internet
>> requests pass throught the captive portal?
>>
>> Paolo
>>
>>
>> Il 12/06/2012 16:05, [email protected] ha scritto:
>>> If you want Vlan-enforcement, you need to have 2 interfaces minimum
>>> (+1 mgmt).
>>>
>>> 1 for registration
>>> 1 for normal
>>>
>>> If you want, you can test with "inline" enforcement policy
>>>
>>>
>>> Paolo Caforio<[email protected]>   a écrit :
>>>
>>>> Hello,
>>>>
>>>> I just installed PacketFence on my Centos 6.2.
>>>> My objective is to test the Captive Portal functionality for guest
>>>> access to Internet.
>>>>
>>>> I have 2 interfaces: one for management and one for registration.
>>>>
>>>> Once I try to google from the registration Vlan, I'm redirected to the
>>>> guest login. If I login using admin generated credentials, I'm
>>>> redirected to a page that says:
>>>>
>>>> "Sorry!
>>>> Your network should be enabled within a minute or two ....."
>>>>
>>>> And I'm not on internet even if I open a new browser tab.
>>>>
>>>> My PC has as gateway and DNS 10.118.104.200 (PacketFence eth0).
>>>> I need the web request to be forwarded to 10.118.104.254 that is the
>>>> office router.
>>>>
>>>> Here is my pf.conf for interfaces configuration :
>>>>
>>>> [interface eth0]
>>>> type=internal
>>>> ip=10.118.104.200
>>>> mask=255.255.255.0
>>>> gateway=10.118.104.200
>>>> enforcement=vlan
>>>> named=enabled
>>>>
>>>> [interface eth2]
>>>> ip=10.118.122.159
>>>> mask=255.255.255.0
>>>> gateway=10.118.122.1
>>>> type=management
>>>>
>>>> [registration]
>>>> auth=preregistered_guests
>>>> guests_self_registration=disabled
>>>> skip_mode=window
>>>>
>>>>
>>>> Here is my network.conf
>>>>
>>>> [10.118.104.0]
>>>> netmask=255.255.255.0
>>>> gateway=10.118.104.200
>>>> next_hop=10.118.104.254
>>>> domain-name=sdb.it
>>>> dns=10.118.104.200
>>>> type=vlan-registration
>>>> named=enabled
>>>> dhcpd=disabled
>>>>
>>>> Have you any suggest??!?!?
>>>>
>>>> thanks
>>>>
>>>> Paolo
>>>> ---
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Utilizziamo i dati personali che la riguardano esclusivamente per
>>>> nostre finalità amministrative e contabili, anche quando li
>>>> comunichiamo a terzi. Informazioni dettagliate, anche in ordine al
>>>> Suo diritto di accesso e agli altri Suoi diritti, sono riportate
>>>> alla pagina http://www.savinodelbene.com/privacy.html
>>>> Se avete ricevuto questo messaggio per errore Vi preghiamo di
>>>> ritornarlo al mittente eliminandolo assieme agli eventuali allegati,
>>>> ai sensi art. 616 codice penale
>>>> http://www.savinodelbene.com/privacy/codice_penale_616.html
>>>> L'Azienda non si assume alcuna responsabilità giuridica qualora
>>>> pervengano da questo indirizzo messaggi estranei all'attività
>>>> lavorativa o contrari a norme.
>>>> --
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>
>> --
>> Paolo Caforio
>>
>> Infrastructure Administrator
>>
>> ________________
>> SDB Information Technology Srl
>> Email: [email protected]
>>
>> Phone:       +39.055.3811222
>> Fax: +39.055.5201129
>>
>> ---
>>
>>
>>
>>
>>
>>
>> Utilizziamo i dati personali che la riguardano esclusivamente per
>> nostre finalità amministrative e contabili, anche quando li
>> comunichiamo a terzi. Informazioni dettagliate, anche in ordine al
>> Suo diritto di accesso e agli altri Suoi diritti, sono riportate
>> alla pagina http://www.savinodelbene.com/privacy.html
>> Se avete ricevuto questo messaggio per errore Vi preghiamo di
>> ritornarlo al mittente eliminandolo assieme agli eventuali allegati,
>> ai sensi art. 616 codice penale
>> http://www.savinodelbene.com/privacy/codice_penale_616.html
>> L'Azienda non si assume alcuna responsabilità giuridica qualora
>> pervengano da questo indirizzo messaggi estranei all'attività
>> lavorativa o contrari a norme.
>> --
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> 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


---






Utilizziamo i dati personali che la riguardano esclusivamente per nostre 
finalità amministrative e contabili, anche quando li comunichiamo a terzi. 
Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli 
altri Suoi diritti, sono riportate alla pagina 
http://www.savinodelbene.com/privacy.html
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al 
mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice 
penale http://www.savinodelbene.com/privacy/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da 
questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
--

------------------------------------------------------------------------------
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

Reply via email to