by logan » Dec 12 07 3:34 pm
From what you have said so far, it sounds like your client computers are not connecting to the internet through the WWW Proxy, but by another method. You can make sure that all your client computers are using the WWW Proxy Server by transparently redirecting all port 80 (HTTP) traffic through the proxy.
Gatekeeper > Services > WWW Proxy Server > Sessions
- Select "Intercept connections made via ENS..."
- Add port 80 to the list
Also, remember that policies which grant the user the most access rights will always be used. This means if you have a policy setup that restricts a user to only one website, but there is another policy that grants all users unrestricted access, the policy that grants unrestricted access will be used since it lets the user access the website in question.
Now that all HTTP traffic is going through the WWW Proxy Server, you will have full control over your clients www usage and the WWW Proxy Policies can show their true colors. Here's how I would go about setting up your scenario. Before following these steps, remove any policies that currently exist in the WWW Proxy.
Restricting all users to one website:
1. Navigate to Gatekeeper > Services > WWW Proxy Server > Policies
2. Change the default rights to "are ignored"
This stops the proxy from using the System Policies after checking it's own.
3. Click Add
4. Goto the Advanced tab
You can leave all the other tabs as their default settings, you will only need to adjust the advanced tab for this policy.
5. Select "Specify which requests this recipient has rights for"
6. Click Add Filter
7. Click Add Criterion
8. Set the criterion as [This criterion is met if] [HTTP URL] [contains] [example.com]
replace example.com with the website you want to restrict everyone to
9. Click OK, OK, then OK to finalise the change
All your client computers should now only be able to visit the website that you specified. Now you can create a new policy that overrides the existing one to allow a certain group of people unrestricted access to the internet.
Allowing Unrestricted access for a specific group of users:
1. Create a new user group in the user database and give it a name like "Unrestricted" or "Full Access"
2. Add the users that you want to grant full internet access to the group
3. Navigate to Gatekeeper > Services > WWW Proxy Server > General
4. These unrestricted users are going to need to authenticate themselves before WinGate can grant them unrestricted access, so select one authentication method under "Authentication where required by policies".
I suggest using the Java client when using the WinGate user database, or NTLM when using the Windows user database as these are the most secure methods.
5. Goto the Policies section of the WWW Proxy
6. Click Add to make a second policy
7. Under the recipient tab, select "Specify user or group" and select the new group you just created from the list.
8. Change the authentication level from "user may be unknown" to "user may be assumed" or "user must be authenticated" to require authentication from users in this group.
The authentication level you choose depends on the authentication method you chose earlier. Secure methods can use "must be authenticated" while insecure methods must use "may be assumed".
9. Click OK, OK, the OK to finalise the change.
When users browse to websites other than the one that was allowed in the first policy, they will now be prompted for authentication. If a username and password is entered from the user group specified in the second policy, the user will be allowed to access all other websites.