Feb 17

Network Configuration:

This setup consists of two networks separated by two VLANS. This example will use the following setup:

Network 1 – 192.168.10.0 /24 – SSID: NET – Corporate Wireless Network
Network 2 – 172.16.0.0 /16 – SSID: Guest – Wireless Guest Network

DSR_Series_How_to_setup_captive_portal0001

Step 1
– Enter the web GUI interface of the DSR using its IP address in a web browser. In our example we have used the IP address of 192.168.10.1

DSR_Series_How_to_setup_captive_portal0012

Accept any certificate warnings you may see, this is perfectly normal and safe

Step 2 – We first now need to create VLANs to separate the traffic

Network > VLAN Settings

DSR_Series_How_to_setup_captive_portal0023

Step 3 – Click on “Add New VLAN”

DSR_Series_How_to_setup_captive_portal0029

VLAN ID: 100
Name: Guest
Captive Portal: ON
Multi VLAN Subnet
IP Address: 172.16.0.1
Subnet: 255.255.0.0
Use the scroll bar to the left to scroll down…

DSR_Series_How_to_setup_captive_portal0030

DHCP Mode: DHCP
Domain Name: Guest
Starting IP Address: 172.16.0.2
Ending IP Address: 172.16.0.1
Primary DNS Server: 172.16.0.1
Lease Time: 24
Click “Save”

Step 4 – We should see the following summary for our VLANS

DSR_Series_How_to_setup_captive_portal0031

Step 5 – We need to create our two profiles, “NET” and “Guest”

Wireless > Profiles

DSR_Series_How_to_setup_captive_portal0032

Step 6 – Right-click on “default1” and click “Edit”

DSR_Series_How_to_setup_captive_portal0033

Step 7 – Change the default values to your SSID. In our example we are using “NET” as our corporative wireless SSID

DSR_Series_How_to_setup_captive_portal0034

SSID: NET
Broadcast SSID: ON
Security: WPA+WPA2
Encryption: TKIP+CCMP
Authentication: PSK
WPA Password: (enter a password for this SSID)
Click “Save”

Step 8 – Click on “Add New Profile” to create a profile for our Guest SSID

DSR_Series_How_to_setup_captive_portal0002

Profile Name: Guest
SSID: Guest
Broadcast SSID: ON
Security: OPEN (Due to our Guest users will need to authenticate with a user and password we will define later)
Click “Save”

Step 9 – You should have two Wireless Profiles (as per our example)

DSR_Series_How_to_setup_captive_portal0003

Step 10 – We now need to add an extra access-point to our configuration to deal with the profile “Guest”

Wireless > Access Points

DSR_Series_How_to_setup_captive_portal0004

Step 11 – Click on “Add New Access Point”

DSR_Series_How_to_setup_captive_portal0005

AP Name: ap2
Profile Name: Guest (Drop down box to display profiles available)
WLAN Partition: ON
*Active Time: Here you can set a time for from and to you would like the access-point to be available.

DSR_Series_How_to_setup_captive_portal0006

In our example, we have chosen not to use this feature

Click “Save”

Step 12 – We now need to associate the Guest SSID to VLAN100

Network > Port VLAN

DSR_Series_How_to_setup_captive_portal0007

Step 13 – Right-click on “Guest” and enter for PVID 100 (The VLAN we created in step 3)

DSR_Series_How_to_setup_captive_portal0008

DSR_Series_How_to_setup_captive_portal0009

Click “Save”

Step 14 – So that our guest users are able to login and authenticate against the local database, we need to add a new Group – Security > Internal User Database > Groups

DSR_Series_How_to_setup_captive_portal0010

DSR_Series_How_to_setup_captive_portal0011

Step 15 – Click on “Add New Group”

DSR_Series_How_to_setup_captive_portal0013

Group Name: CP
Description: Captive Portal
User Type: Network  Captive Portal User: ON
Idle Timeout: 10

Click “Save”

Group List Summary:

DSR_Series_How_to_setup_captive_portal0014

Step 16 – We now need to a associate a User to our new Group – Security > Internal User Database > Users

DSR_Series_How_to_setup_captive_portal0015

Step 17
– Click on “Add New User”

DSR_Series_How_to_setup_captive_portal0016

User Name
: CP
First Name: CP
Last Name: CP
Select Group: CP
MultiLogin: ON
Password: (Enter the password the guest will need to use for authentication)

Click “Save”

Users List Summary:

DSR_Series_How_to_setup_captive_portal0017

Login from a Laptop with Window 7:

Step 18 – Open your wireless card adapter and now search for SSID “Guest”

DSR_Series_How_to_setup_captive_portal0018

Step 19 – Once connected, open a web browser and try to go to a web site, for example dlink.com

DSR_Series_How_to_setup_captive_portal0019

Username: CP (User created in Step 17)

Password: (Password created in Step 17)

Click “Login”

DSR_Series_How_to_setup_captive_portal0020

Login from a Windows Phone:

DSR_Series_How_to_setup_captive_portal0021

Login from an iPad:

DSR_Series_How_to_setup_captive_portal0025DSR_Series_How_to_setup_captive_portal0024DSR_Series_How_to_setup_captive_portal0022

Step 20 – To see the clients connected – Status > Network Information > CaptivePortal Sessions

DSR_Series_How_to_setup_captive_portal0026

Step 21 – Within this section you are able to manage ALL connected devices by right-clicking over the session and choose between; “Disconnect” or “Blocking Device”

DSR_Series_How_to_setup_captive_portal0027

Disconnect – This will simply disconnect the wireless device from the session and will be forced to login via the portal

Block Device – This will block the wireless device and will automatically be placed into the Firewall Blocked Client List

DSR_Series_How_to_setup_captive_portal0028

Tags: ,

css.php