Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dexterlabora/meraki-splash-gp
Meraki Captive Portal using Group Policies. NodeJS Express Handlebars
https://github.com/dexterlabora/meraki-splash-gp
Last synced: 3 months ago
JSON representation
Meraki Captive Portal using Group Policies. NodeJS Express Handlebars
- Host: GitHub
- URL: https://github.com/dexterlabora/meraki-splash-gp
- Owner: dexterlabora
- License: apache-2.0
- Created: 2017-09-13T14:28:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-04T15:58:27.000Z (about 4 years ago)
- Last Synced: 2024-08-03T01:15:03.385Z (6 months ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-merakiapis - meraki-splash-gp - Meraki Captive Portal using Group Policies. NodeJS Express Handlebars. (External Captive Portals excap / Contents)
README
# Meraki Splash Page with Group Policies
A simple NodeJS applicaiton using Express with Handlebars![screenshot](./screenshots/splash-screenshot.png "Splash Page")
## Application Install
```
git clone meraki
cd meraki
npm install
```
Open the `configs.sample.js` file and edit the variables and save the file as `configs.js`
```
//configs.js
// Rename this file to configs.js
// Define your Application Configurations here
var config = {
// Meraki API Key
apiKey: "YourAPIKey",
// The "shard" number for your Meraki organization (find this in your dashboard URL)
shard: "n###",
// The Meraki Network ID
networkId: "YourNetworkID",
// The Meraki Group Policy ID
policy: "102"
}
``````
npm start
```View the site
http://localhost:3000
Test w/ sample moc data
http://localhost:3000/?base_grant_url=https%3A%2F%2Fn143.network-auth.com%2Fsplash%2Fgrant&user_continue_url=http%3A%2F%2Fask.com%2F&node_id=149624921787028&node_mac=88:15:44:50:0a:94&gateway_id=149624921787028&client_ip=10.110.154.195&client_mac=74:da:38:88:7c:df
## Meraki Setup
### Wireless SSID
Configure Wirless NetworkWireless --> Configure --> Access Control
- Splash Page: Click-through### Splash Page Redirect
Wireless --> Configure --> Splash
- Custom Splash URL: http://YourPublicServerAddress:3000/### Group Policy
Network-wide --> Configure --> Group Policies
- add Group
- Splash: Bypass### Use Postman to get IDs
https://documenter.getpostman.com/view/897512/meraki-dashboard-prov-api/2To9xm#intro
- netID
- policyID