It's in the source where you have to define the rules.

Also you can use a regexp in the rule to match what you need.

Last thing , keep in mind that there is an order in the rule, so the first match win and the last one can match by default.


Le 2017-10-06 à 05:19, Tomasz Karczewski via PacketFence-users a écrit :

Thank you for response.

Where exactly do i have to make these rules?

Sources? Portal Profiles? Vlan filters?

One more question. Does there a way to add to advanced rule to match i.e. company field defined in users field?

If this field not match don’t allow?

Tomasz Karczewski

Administrator Sieci

olman

[email protected]

http://www.man.olsztyn.pl http://www.uwm.edu.pl

tel. (89) 523 45 55  fax. (89) 523 43 47

Ośrodek Eksploatacji i Zarządzania

Miejską Siecią Komputerową OLMAN w Olsztynie

Uniwersytet Warmińsko-Mazurski w Olsztynie

*From:*Fabrice Durand via PacketFence-users [mailto:[email protected]]
*Sent:* Thursday, October 5, 2017 8:12 PM
*To:* [email protected]
*Cc:* Fabrice Durand <[email protected]>
*Subject:* Re: [PacketFence-users] Captive Portal allow only selected usernames

Hello Tomasz,

create a rule for each users and at the end add a catch_all with the reject role.

Regards

Fabrice

Le 2017-10-05 à 07:42, Tomasz Karczewski via PacketFence-users a écrit :

    Hi,

    I'm trying to allow only selected users to wifi with specific ssid and

    connection-type.

    For example i have ssid "specificusers" connection type wireless-noeap.

    I want to allow only selected usernames to allow and register device with

    specific role i.e. "specificusers"

    [email protected] <mailto:[email protected]>  [email protected] 
<mailto:[email protected]>  [email protected] <mailto:[email protected]>  and not allow 
any other

    usernames.

    Did anyone do this?

    Tnx for answers

    Tomasz Karczewski




    
------------------------------------------------------------------------------

    Check out the vibrant tech community on one of the world's most

    engaging tech sites, Slashdot.org!http://sdm.link/slashdot




    _______________________________________________

    PacketFence-users mailing list

    [email protected]
    <mailto:[email protected]>

    https://lists.sourceforge.net/lists/listinfo/packetfence-users



--
Fabrice Durand
[email protected] <mailto:[email protected]>  ::  +1.514.447.4918 (x135) 
::www.inverse.ca <http://www.inverse.ca>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to