mirror of https://gitlab.federez.net/re2o/re2o
1 changed files with 46 additions and 0 deletions
@ -0,0 +1,46 @@ |
|||
Re2o can allow your users to auto-register. Either using WiFi or using wired connection. |
|||
|
|||
# Wired Connection |
|||
|
|||
Currently, the following switch brands are supported : |
|||
* HP |
|||
* Juniper |
|||
|
|||
## Autoregister view |
|||
|
|||
The goal is to lead your user toward `http://your.website/users/initial_register`. |
|||
|
|||
The query must have the following `GET` parameters : |
|||
|
|||
| Parameter name | content | |
|||
| ------ | ------ | |
|||
| `switch_ip` | IP address of the switch | |
|||
| `switch_port` | The port to which the client is connected | |
|||
| `client_mac` | The mac address of the client | |
|||
|
|||
## On Juniper |
|||
|
|||
We tweak [Central Web Authentication](https://www.juniper.net/documentation/en_US/junos/topics/topic-map/central-web-authentication.html). |
|||
|
|||
We will configure the RADIUS server in order to send responses in the form of |
|||
|
|||
``` |
|||
001122334455 Auth-Type := EAP, Cleartext-Password :="001122334455" |
|||
Session-Timeout = "300", |
|||
Juniper-CWA-Redirect-URL = "https://your.ser.ver.ip/?get_parameters", |
|||
Filter-Id = "JNPR_RSVD_FILTER_CWA", |
|||
``` |
|||
|
|||
To do that, we can configure our RADIUS server in `http://your.website/users/preferences` in order to get the following configuration, where `Adhérents` is the VLAN for accepted users and `Prérézotage` an intermediary VLAN for unregistered users and machines. |
|||
|
|||
 |
|||
|
|||
Note that you must provide a DHCP server on the VLAN for unregistered users and machines. If you want your users to pay their membership, you should also provide them with a way to contact the payment service. |
|||
|
|||
## On HP |
|||
|
|||
todo |
|||
|
|||
# WiFi |
|||
|
|||
todo |
|||
Loading…
Reference in new issue