Captive Portal can be very versatile in regards to what traffic is captured and what is ignored. With properly configured Capture Rules you can provide very focused messaging or enforce strict usage policy via the Captive Portal.
- Go to Apps
- Click the Captive Portal app
- Go to the Capture Rules tab
- Click Add
Clicking the image above will load it, full-size, in a new window.
- Enter a description
- Click Add Condition
- There are many Condition options that you can choose from:
- Let's look at an example for creating a rule to capture traffic. In the image below we are capturing specific IP addresses.
- Add a condition for Source Address
- In the value field enter the IPs you want captured. Sample valid syntax is provided in the image:
- Multiple values are always comma separated with no spaces.
- The first value (highlighted green) shows how to specify a range
- The second value (highlighted yellow) shows a single IP value
- The third value (highlighted blue) shows CIDR notation for entire IP subnets
- Set the Action Type to "Capture"