Free access (gues access) and vouchers
-
Hello!
tell me whether you can make free access to some sites, but on the other - on vouchers? -
Services -> Captive Portal, click on Allowed IP Addresses tab
-
only ip?
no urls (http\https)? -
Take a look under hosts
-
Take a look under hosts
I wonder what captive portal will do if you want to allow access to http://access-allowed.com and refuse access to http://access-refused.com and they are both hosted on the same server.
-
Take a look under hosts
I wonder what captive portal will do if you want to allow access to http://access-allowed.com and refuse access to http://access-refused.com and they are both hosted on the same server.
Sorry, i was on underway, where i wrote it. I mean Services -> Captive Portal -> allowed hostnames
Do you have tested your example? What happens? -
Take a look under hosts
I wonder what captive portal will do if you want to allow access to http://access-allowed.com and refuse access to http://access-refused.com and they are both hosted on the same server.
AFAIK on a CP-enabled interface all external traffic is refused by default (before successful login), except those IPs and hostnames which are explicitly allowed (aka "walled garden").
Taking a quick look at the source code, it seems to me that in the hypothetical scenario you describe, access to both sites would be allowed.
-
AFAIK on a CP-enabled interface all external traffic is refused by default (before successful login), except those IPs and hostnames which are explicitly allowed (aka "walled garden").
Taking a quick look at the source code, it seems to me that in the hypothetical scenario you describe, access to both sites would be allowed.
of course.
hostname resolve to ip and add to access