{"id":178,"date":"2022-03-11T04:23:35","date_gmt":"2022-03-11T09:23:35","guid":{"rendered":"https:\/\/opentextbc.ca\/fortigatefirewall\/chapter\/captive-portal\/"},"modified":"2023-08-29T16:26:58","modified_gmt":"2023-08-29T20:26:58","slug":"captive-portal","status":"publish","type":"chapter","link":"https:\/\/opentextbc.ca\/fortigatefirewall\/chapter\/captive-portal\/","title":{"raw":"5.1 Captive Portal","rendered":"5.1 Captive Portal"},"content":{"raw":"<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\n<p class=\"textbox__title\">Learning Objectives<\/p>\n\n<\/header>\n<div class=\"textbox__content\">\n<ul>\n \t<li class=\"hanging-indent\">Configure a Captive Portal<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"textbox shaded\"><strong>Scenario<\/strong>: We are planning to enable Captive Portal on port2. Then, when users want to connect to the Internet, first they should enter their username and password and after that they are allowed to surf the Internet.<\/div>\n\n[caption id=\"attachment_168\" align=\"aligncenter\" width=\"921\"]<img class=\"wp-image-168 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5.jpg\" alt=\"Captive Portal main scenario\" width=\"921\" height=\"497\"> Figure 5.1: Main scenario[\/caption]\n\n<div align=\"left\">\n<table class=\"aligncenter\" style=\"width: 952px;\" width=\"100%\"><caption>Table 5.1: Devices configuration<\/caption>\n<tbody>\n<tr style=\"height: 34px;\">\n<th style=\"width: 144.267px; height: 34px;\" scope=\"col\">Device<\/th>\n<th style=\"width: 361.65px; height: 34px;\" scope=\"col\">IP address<\/th>\n<th style=\"width: 185.35px; height: 34px;\" scope=\"col\">Access<\/th>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 144.267px; height: 34px;\">WebTerm1<\/td>\n<td style=\"width: 361.65px; height: 34px;\">192.168.1.2\/24<\/td>\n<td style=\"width: 185.35px; height: 34px;\">-<\/td>\n<\/tr>\n<tr style=\"height: 161px;\">\n<td style=\"width: 144.267px; height: 161px;\">FortiGate<\/td>\n<td style=\"width: 361.65px; height: 161px;\">Port 1: DHCP Client\n\nPort 2: 192.168.1.1\/24\n\nPort 3: 192.168.0.1\/24<\/td>\n<td style=\"width: 185.35px; height: 161px;\">ICMP\n\nHTTP\n\nHTTPS<\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 144.267px; height: 34px;\">WebTerm (FMC)<\/td>\n<td style=\"width: 361.65px; height: 34px;\">192.168.0.2\/24<\/td>\n<td style=\"width: 185.35px; height: 34px;\">-<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<ol>\n \t<li>Prerequisites:\n<ol>\n \t<li>Set the IP addresses in the firewall as above table. The CLI is available as following:\n<div class=\"textbox shaded\">\n\n<em>FGVM01TM19008000 # config system interface<\/em>\n<em>FGVM01TM19008000 (interface) # edit port1<\/em>\n<em>FGVM01TM19008000 (port1) # set mode dhcp<\/em>\n<em>FGVM01TM19008000 (port1) # end<\/em>\n\n<em>FGVM01TM19008000 # config system interface<\/em>\n<em>FGVM01TM19008000 (interface) # edit port2<\/em>\n<em>FGVM01TM19008000 (port2) # set ip 192.168.1.1\/24<\/em>\n<em>FGVM01TM19008000 (port2) # end<\/em>\n\n<em>FGVM01TM19008000 # config system interface<\/em>\n<em>FGVM01TM19008000 (interface) # edit port3<\/em>\n<em>FGVM01TM19008000 (port3) # set ip 192.168.0.1\/24<\/em>\n<em>FGVM01TM19008000 (port3) # set allowaccess http https<\/em>\n<em>FGVM01TM19008000 (port3) # end<\/em>\n\n<\/div><\/li>\n \t<li>Set a static route in the firewall. You should always set the default route in the firewall (0.0.0.0 0.0.0.0 Internet IP).\n\n[caption id=\"attachment_169\" align=\"aligncenter\" width=\"863\"]<img class=\"wp-image-169\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1.jpg\" alt=\"Configure a static route\" width=\"863\" height=\"432\"> Figure 5.2: Configure a static route[\/caption]<\/li>\n \t<li>Set a Firewall Policy from <strong>port2<\/strong> to <strong>port1.<\/strong>\n\n[caption id=\"attachment_170\" align=\"aligncenter\" width=\"863\"]<img class=\"wp-image-170\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2.jpg\" alt=\"Set a Firewall Policy from port2 to port1.\" width=\"863\" height=\"610\"> Figure 5.3: Set a Firewall Policy[\/caption]<\/li>\n \t<li>Set the static IP address in WebTerm1 (192.168.1.2\/24).\n\n[caption id=\"attachment_171\" align=\"aligncenter\" width=\"765\"]<img class=\"wp-image-171 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3.jpg\" alt=\"Set the static IP address in WebTerm1(192.168.1.2\/24)\" width=\"765\" height=\"701\"> Figure 5.4: Configure a static IP address in WebTerm1[\/caption]<\/li>\n<\/ol>\n<\/li>\n \t<li>Create a user and group. Go to <strong>User &amp; Authentication<\/strong> &gt; <strong>User Groups<\/strong>. Create a group name: <strong>CaptivePortal<\/strong>.\n\n[caption id=\"attachment_175\" align=\"aligncenter\" width=\"400\"]<img class=\"wp-image-172\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2.jpg\" alt=\"Create a group\" width=\"400\" height=\"262\"> Figure 5.5: Create a group[\/caption]\n\nGo to <strong>User &amp; Authentication<\/strong> &gt; <strong>User Definition<\/strong> &gt; <strong>Create a New User<\/strong> and assign your user in step 4 to A0ID-CaptivePortal Group.\n\n[caption id=\"attachment_175\" align=\"aligncenter\" width=\"500\"]<img class=\"wp-image-173\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3.jpg\" alt=\"Create a local user\" width=\"500\" height=\"353\"> Figure 5.6: Create a user[\/caption]\n\n[caption id=\"attachment_175\" align=\"aligncenter\" width=\"400\"]<img class=\"wp-image-174\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1.jpg\" alt=\"Step2- Create a Login Credentials\" width=\"400\" height=\"210\"> Figure 5.7: Create login credentials[\/caption]\n\n[caption id=\"attachment_175\" align=\"aligncenter\" width=\"885\"]<img class=\"wp-image-175 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2.jpg\" alt=\"Add User to the Group\" width=\"885\" height=\"390\"> Figure 5.8: Add user to the group[\/caption]<\/li>\n \t<li>Go to <strong>Network<\/strong> &gt; <strong>Interfaces and edit port 2<\/strong>. In the Admission Control section, set:\n<ul>\n \t<li><strong>Security mode:<\/strong> captive portal<\/li>\n \t<li><strong>Authentication Portal:<\/strong> Local<\/li>\n \t<li><strong>User Access:<\/strong> Restricted to Group and assign the group you have created in the previous step.<\/li>\n<\/ul>\n[caption id=\"attachment_176\" align=\"alignnone\" width=\"1015\"]<img class=\"wp-image-176 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2.jpg\" alt=\"Configure Captive Portal on port 2\" width=\"1015\" height=\"575\"> Figure 5.9: Configure Captive Portal on port2[\/caption]<\/li>\n \t<li>Now, open the browser in WebTerm1 and type http:\/\/talebi.ca.\n\n[caption id=\"attachment_177\" align=\"aligncenter\" width=\"400\"]<img class=\"wp-image-177\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2.jpg\" alt=\"open the browser in webterm1 and type http:\/\/talebi.ca\" width=\"400\" height=\"285\"> Figure 5.10: Verify Captive Portal[\/caption]<\/li>\n<\/ol>","rendered":"<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Learning Objectives<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<ul>\n<li class=\"hanging-indent\">Configure a Captive Portal<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"textbox shaded\"><strong>Scenario<\/strong>: We are planning to enable Captive Portal on port2. Then, when users want to connect to the Internet, first they should enter their username and password and after that they are allowed to surf the Internet.<\/div>\n<figure id=\"attachment_168\" aria-describedby=\"caption-attachment-168\" style=\"width: 921px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-168 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5.jpg\" alt=\"Captive Portal main scenario\" width=\"921\" height=\"497\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5.jpg 921w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5-300x162.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5-768x414.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5-65x35.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5-225x121.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2022\/04\/1-5-350x189.jpg 350w\" sizes=\"auto, (max-width: 921px) 100vw, 921px\" \/><figcaption id=\"caption-attachment-168\" class=\"wp-caption-text\">Figure 5.1: Main scenario<\/figcaption><\/figure>\n<div style=\"text-align: left;\">\n<table class=\"aligncenter\" style=\"width: 952px; width: 100%;\">\n<caption>Table 5.1: Devices configuration<\/caption>\n<tbody>\n<tr style=\"height: 34px;\">\n<th style=\"width: 144.267px; height: 34px;\" scope=\"col\">Device<\/th>\n<th style=\"width: 361.65px; height: 34px;\" scope=\"col\">IP address<\/th>\n<th style=\"width: 185.35px; height: 34px;\" scope=\"col\">Access<\/th>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 144.267px; height: 34px;\">WebTerm1<\/td>\n<td style=\"width: 361.65px; height: 34px;\">192.168.1.2\/24<\/td>\n<td style=\"width: 185.35px; height: 34px;\">&#8211;<\/td>\n<\/tr>\n<tr style=\"height: 161px;\">\n<td style=\"width: 144.267px; height: 161px;\">FortiGate<\/td>\n<td style=\"width: 361.65px; height: 161px;\">Port 1: DHCP Client<\/p>\n<p>Port 2: 192.168.1.1\/24<\/p>\n<p>Port 3: 192.168.0.1\/24<\/td>\n<td style=\"width: 185.35px; height: 161px;\">ICMP<\/p>\n<p>HTTP<\/p>\n<p>HTTPS<\/td>\n<\/tr>\n<tr style=\"height: 34px;\">\n<td style=\"width: 144.267px; height: 34px;\">WebTerm (FMC)<\/td>\n<td style=\"width: 361.65px; height: 34px;\">192.168.0.2\/24<\/td>\n<td style=\"width: 185.35px; height: 34px;\">&#8211;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<ol>\n<li>Prerequisites:\n<ol>\n<li>Set the IP addresses in the firewall as above table. The CLI is available as following:\n<div class=\"textbox shaded\">\n<p><em>FGVM01TM19008000 # config system interface<\/em><br \/>\n<em>FGVM01TM19008000 (interface) # edit port1<\/em><br \/>\n<em>FGVM01TM19008000 (port1) # set mode dhcp<\/em><br \/>\n<em>FGVM01TM19008000 (port1) # end<\/em><\/p>\n<p><em>FGVM01TM19008000 # config system interface<\/em><br \/>\n<em>FGVM01TM19008000 (interface) # edit port2<\/em><br \/>\n<em>FGVM01TM19008000 (port2) # set ip 192.168.1.1\/24<\/em><br \/>\n<em>FGVM01TM19008000 (port2) # end<\/em><\/p>\n<p><em>FGVM01TM19008000 # config system interface<\/em><br \/>\n<em>FGVM01TM19008000 (interface) # edit port3<\/em><br \/>\n<em>FGVM01TM19008000 (port3) # set ip 192.168.0.1\/24<\/em><br \/>\n<em>FGVM01TM19008000 (port3) # set allowaccess http https<\/em><br \/>\n<em>FGVM01TM19008000 (port3) # end<\/em><\/p>\n<\/div>\n<\/li>\n<li>Set a static route in the firewall. You should always set the default route in the firewall (0.0.0.0 0.0.0.0 Internet IP).<br \/>\n<figure id=\"attachment_169\" aria-describedby=\"caption-attachment-169\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-169\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1.jpg\" alt=\"Configure a static route\" width=\"863\" height=\"432\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1.jpg 1021w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1-300x150.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1-768x384.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1-65x33.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1-225x113.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/2-1-350x175.jpg 350w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><figcaption id=\"caption-attachment-169\" class=\"wp-caption-text\">Figure 5.2: Configure a static route<\/figcaption><\/figure>\n<\/li>\n<li>Set a Firewall Policy from <strong>port2<\/strong> to <strong>port1.<\/strong><br \/>\n<figure id=\"attachment_170\" aria-describedby=\"caption-attachment-170\" style=\"width: 863px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-170\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2.jpg\" alt=\"Set a Firewall Policy from port2 to port1.\" width=\"863\" height=\"610\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2.jpg 962w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2-300x212.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2-768x543.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2-65x46.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2-225x159.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/3-2-350x247.jpg 350w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><figcaption id=\"caption-attachment-170\" class=\"wp-caption-text\">Figure 5.3: Set a Firewall Policy<\/figcaption><\/figure>\n<\/li>\n<li>Set the static IP address in WebTerm1 (192.168.1.2\/24).<br \/>\n<figure id=\"attachment_171\" aria-describedby=\"caption-attachment-171\" style=\"width: 765px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-171 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3.jpg\" alt=\"Set the static IP address in WebTerm1(192.168.1.2\/24)\" width=\"765\" height=\"701\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3.jpg 765w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3-300x275.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3-65x60.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3-225x206.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/4-3-350x321.jpg 350w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><figcaption id=\"caption-attachment-171\" class=\"wp-caption-text\">Figure 5.4: Configure a static IP address in WebTerm1<\/figcaption><\/figure>\n<\/li>\n<\/ol>\n<\/li>\n<li>Create a user and group. Go to <strong>User &amp; Authentication<\/strong> &gt; <strong>User Groups<\/strong>. Create a group name: <strong>CaptivePortal<\/strong>.<br \/>\n<figure id=\"attachment_175\" aria-describedby=\"caption-attachment-175\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-172\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2.jpg\" alt=\"Create a group\" width=\"400\" height=\"262\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2.jpg 885w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2-300x197.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2-768x503.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2-65x43.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2-225x147.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/5-2-350x229.jpg 350w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-175\" class=\"wp-caption-text\">Figure 5.5: Create a group<\/figcaption><\/figure>\n<p>Go to <strong>User &amp; Authentication<\/strong> &gt; <strong>User Definition<\/strong> &gt; <strong>Create a New User<\/strong> and assign your user in step 4 to A0ID-CaptivePortal Group.<\/p>\n<figure id=\"attachment_175\" aria-describedby=\"caption-attachment-175\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-173\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3.jpg\" alt=\"Create a local user\" width=\"500\" height=\"353\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3.jpg 1134w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3-300x212.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3-1024x722.jpg 1024w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3-768x542.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3-65x46.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3-225x159.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/6-3-350x247.jpg 350w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-175\" class=\"wp-caption-text\">Figure 5.6: Create a user<\/figcaption><\/figure>\n<figure id=\"attachment_175\" aria-describedby=\"caption-attachment-175\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-174\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1.jpg\" alt=\"Step2- Create a Login Credentials\" width=\"400\" height=\"210\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1.jpg 882w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1-300x157.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1-768x402.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1-65x34.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1-225x118.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/7-1-350x183.jpg 350w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-175\" class=\"wp-caption-text\">Figure 5.7: Create login credentials<\/figcaption><\/figure>\n<figure id=\"attachment_175\" aria-describedby=\"caption-attachment-175\" style=\"width: 885px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-175 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2.jpg\" alt=\"Add User to the Group\" width=\"885\" height=\"390\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2.jpg 885w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2-300x132.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2-768x338.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2-65x29.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2-225x99.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/8-2-350x154.jpg 350w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><figcaption id=\"caption-attachment-175\" class=\"wp-caption-text\">Figure 5.8: Add user to the group<\/figcaption><\/figure>\n<\/li>\n<li>Go to <strong>Network<\/strong> &gt; <strong>Interfaces and edit port 2<\/strong>. In the Admission Control section, set:\n<ul>\n<li><strong>Security mode:<\/strong> captive portal<\/li>\n<li><strong>Authentication Portal:<\/strong> Local<\/li>\n<li><strong>User Access:<\/strong> Restricted to Group and assign the group you have created in the previous step.<\/li>\n<\/ul>\n<figure id=\"attachment_176\" aria-describedby=\"caption-attachment-176\" style=\"width: 1015px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-176 size-full\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2.jpg\" alt=\"Configure Captive Portal on port 2\" width=\"1015\" height=\"575\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2.jpg 1015w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2-300x170.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2-768x435.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2-65x37.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2-225x127.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/9-2-350x198.jpg 350w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><figcaption id=\"caption-attachment-176\" class=\"wp-caption-text\">Figure 5.9: Configure Captive Portal on port2<\/figcaption><\/figure>\n<\/li>\n<li>Now, open the browser in WebTerm1 and type http:\/\/talebi.ca.<br \/>\n<figure id=\"attachment_177\" aria-describedby=\"caption-attachment-177\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-177\" src=\"https:\/\/opentextbc.ca\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2.jpg\" alt=\"open the browser in webterm1 and type http:\/\/talebi.ca\" width=\"400\" height=\"285\" srcset=\"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2.jpg 1130w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2-300x213.jpg 300w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2-1024x729.jpg 1024w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2-768x546.jpg 768w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2-65x46.jpg 65w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2-225x160.jpg 225w, https:\/\/opentextbc.ca\/fortigatefirewall\/wp-content\/uploads\/sites\/438\/2023\/08\/11-2-350x249.jpg 350w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-177\" class=\"wp-caption-text\">Figure 5.10: Verify Captive Portal<\/figcaption><\/figure>\n<\/li>\n<\/ol>\n","protected":false},"author":124,"menu_order":2,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-178","chapter","type-chapter","status-publish","hentry"],"part":167,"_links":{"self":[{"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/chapters\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/wp\/v2\/users\/124"}],"version-history":[{"count":1,"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/chapters\/178\/revisions"}],"predecessor-version":[{"id":179,"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/chapters\/178\/revisions\/179"}],"part":[{"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/parts\/167"}],"metadata":[{"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/chapters\/178\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/pressbooks\/v2\/chapter-type?post=178"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/wp\/v2\/contributor?post=178"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/opentextbc.ca\/fortigatefirewall\/wp-json\/wp\/v2\/license?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}