|
AuthKeywordsFile=authorized.txt File containing keywords of domain names that, after resolved, authorizes the client to surf past the welcome page. The contents of the file needs to include one or several complex/unique domain names to be treated as the "key" that allows users to browse past the RedirectIP= page. These do not have to be actual domain names registered on the Internet, you can make them up. Use SimpleDNS= if you want a made up domain name to resolve to an IP. When a client does a DNS lookup for a matching domain name the client will be marked as Authorized. The system should work like this... (adapt it to your needs; payment page, password, registration, etc.) A) user joins the network, B) user gets DHCP lease including DNS Redirector as the DNS server, C) user starts browser and sees your terms and conditions page, D) user clicks a link to accept the agreement, E) user gets forwarded to another page that says "Welcome to the Internet" and includes a clear image referenced at http://surfon.dnsredirctrl.com/clear.gif, F) the browser does a DNS lookup for surfon.dnsredirctrl.com G) DNS Redirector finds that surfon.dnsredirctrl.com matches the domain name specified in the AuthKeywordsFile, H) user can now browse the Internet freely. AlwaysKeywordsFile=always.txt File containing keywords of domain names that clients are always allowed to visit, even if they have not been authorized. In a paid HotSpot scenario you would add the domain name(s) of your payment processor to this file so users can visit the site in order to pay for access and then become authorized. See FAQ 122. Leave this setting blank if you are not going to use it. AuthClientsFile=authclients.txt File containing IPs of local network clients that are always allowed to surf, even if they have not been authorized. Useful for static-IP machines on the same LAN as the hotspot that shouldn't have to pay or become authorized to surf; such as a kiosk, the IT manager, back office, or receptionist's computer. Leave this setting blank if you are not going to use it. Note: This function is for special circumstances only, in most cases the public/hotspot network should be completely separate from the internal/office network as shown in Network Examples. |
|
BlockResponse=Lookup Valid options are: Lookup - resolves to the BlockedIP only if the domain name is real (does a lookup at the DNSServerIP= first) Fast - resolves to the BlockedIP even if the domain name does not exist BlockedKeywordsFile=blocked.txt File containing keywords of domain names that clients cannot visit. To automate the updating of keywords see FAQ 52. To block everything see FAQ 5. If blocking is not going to be used leave this setting blank. When specifying BlockedKeywordsFile= you must also specify BlockedIP= and host a website at that IP or web surfing will be slow. AllowedKeywordsFile=allowed.txt File containing keywords of domain names that clients are allowed to visit. Sometimes good blocking keywords can prevent clients from reaching legitimate content, this list corrects that. See FAQ 112. If blocking is not going to be used leave this setting blank. BypassBlockFile=bypassblock.txt File containing keywords of domain names that, after resolved, allows the client to view blocked content. The contents of the file needs to include one or several complex/unique domain names to be treated as the "key" that allows users to browse past the BlockedIP= page. These do not have to be actual domain names registered on the Internet, you can make them up. Use SimpleDNS= if you want a made up domain name to resolve to an IP. Note that after blocking is off you will need to close and open any browser windows, this is necessary to clear the browser's DNS cache for websites visited prior, otherwise those sites may still be blocked. Restarting DNS Redirector will turn blocking back on for all clients. By checking Blocking in the GUI or implementing ResetClientFile= you can turn blocking back on per-client. Note that a client who visits a BypassBlockFile= domain name before a AuthKeywordsFile= domain name will be able to browse freely, but will not set Authorized=True in the GUI. If blocking is not going to be used leave this setting blank. |
|
JoinAction= File you want to launch or execute when a client joins the network. This could be a .exe, .wav, .bat or other script. If a join action is not desired then leave this blank. The client's IP is passed as a variable after the command for use with a third-party script or application, see FAQ 62. When running as a service (dnsrsvc.exe) it may be necessary to specify the full path to the file, for example C:\DNSREDIR\join.bat LeaveAction= File you want to launch or execute when a client leaves the network, used only when ActionNumber=1. This could be a .exe, .wav, .bat or other script. If a leave action is not desired then leave this blank. The client's IP is passed as a variable after the command for use with a third-party script or application. When running as a service (dnsrsvc.exe) it may be necessary to specify the full path to the file, for example C:\DNSREDIR\leave.bat |
in IIS Manager create a site:
(see details for IIS6
or IIS7)
for IIS6: leave checked "Allow anonymous access to this Web site" | leave checked "Read" | check "Run scripts (such as ASP)"
set the following custom errors:
(see details for IIS6
or IIS7)
in IIS Manager create a site:
(see details for IIS6
or IIS7)
for IIS6: leave checked "Allow anonymous access to this Web site" | leave checked "Read" | check "Run scripts (such as ASP)"
set the following custom errors:
(see details for IIS6
or IIS7)