You are here:Home > Best VPN > Two Examples of Special Settings for Wingate Proxy Server

Two Examples of Special Settings for Wingate Proxy Server

Summary:In enterprise local area networks, Internet access is often achieved through proxy servers. Wingate provides us with powerful management functions by…
horizonVPN Official website sandVPN Official website VPNhood Official website hailianVPN Official website
GoduckVPN Official website Fast Wind VPN Official website Fast Orange VPN Official website(Recommend) NetShekanVPN Official website

This book is available as an e-book in EPUB format

PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email

Email: shuxueha@outlook.com

PayPal: https://paypal.me/zhipinglei

You can also scan the PayPal QR code below to sponsor

You can also purchase this book on Amazon: click to enter the Amazon official website

In enterprise local area networks, Internet access is often achieved through proxy servers. Wingate provides us with powerful management functions by grouping users, assigning them different usage permissions, specifying when they can access the Internet, when they cannot access the Internet, which services can be used, which services cannot be used, and so on, and implementing timed opening and closing.

To assign different permissions to users, they must be added as formal users. There are three types of users in Wingate:

The first type is Administrator, who has the power to manage and can change the permissions of other users, but must start GateKeeper as that identity to change Wingate settings;

The second type is Guest users, where all users use Guest as their username before being added as official users, and Wingate manages and provides proxy services according to default settings.

The third type is formal users added by administrators, who have their own independent accounts and unique usernames.

Let's take a look at how to assign permissions to different users through grouping. We introduce an example: Users in the user1 group are limited to using WWW browsing and Socks services for a limited time, from 8:00 am to 11:00 am and 2:00 pm to 5:00 pm from Monday to Friday, with timed opening and closing. However, other services such as sending and receiving emails are not restricted. There are no restrictions on users in group user2.

1. Group users

Firstly, formal users need to be added to groups user1 and user2. Click on the "Users" tab of GateKeeper, right-click on the blank space in the left window, select "New User" from the pop-up menu, and enter the name for this user in the "Username" column of the "Properties for new user" window. It is recommended to use a number as the username, which corresponds to the last group of its IP address. For example, if the username for user 202.96.112.36 is 36, then click the "OK" button. This way, the user "36" will appear under "Users". Use the same method to add all users who need to set permissions as official users. Now, the users we need have been added under the "Users" category. In addition, there are two default users, "Administrator" and "Guest".

Then, user groups named "user1" and "user2" need to be established. Right click on the blank space in the window and select '?' from the pop-up menu? quot; New Group”, In the "Group Name" column of the "New Group" window, enter the name of the group "user1". There are two list boxes at the bottom of the window, "Members" and "Non members". The users listed in "Members" are members of this group, while the users listed in "Non members" are not members of this group. Double click all users in "Non members" except for "Guest" and those who do not need to limit their use of the service, and make them all members of "user1". Finally, click the 'OK' button. Use the same method to add all users except for the "Guest" and "user1" groups to the "user2" group.

Now the "user1" and "user2" groups contain all users except for "Guest". We also need to associate these usernames with the IP addresses of their computers in order to manage different computers through these usernames. Double click on the "Expected Users" option, click on the "By IP Address" tab in the pop-up window, then click the "Add" button. Enter the IP address of the computer in the column above the Location window, and then select the username corresponding to this computer from the drop-down list below. Now you understand the benefits of using IP as the username, which is less prone to errors and easier to check. After clicking "OK", this username corresponds to its IP address. Use the same method to associate all other users in the "user1" group with all users in the "user2" group, and finally click the "OK" button.

2. Set user permissions

Click on the "Services" tab of GateKeeper and first set the WWW browsing time limit.

(1) Double click on the "WWW Proxy server" option and click on the "Policies" tab in the pop-up dialog box. In the middle of the window, there is a "Is granted" list box that displays the permissions corresponding to different users or groups. Because there are no permission settings yet, it is currently empty.

(2) Click the "Add" button to open the "Properties for new recipient" window, and set the users or groups assigned permissions in the "Recipient" tab. Click on 'Specify user or group', select 'user1' in the list box below, and you will see 'user1' appear in the box above.

(3) Next, set a usage time limit for 'user1'. Click on the "Time" tab, and the "Included times" list box is used to set the allowed time period. The system will automatically start the service at the specified time; ”The 'Excluded time' list box is used to set a time period for rejecting usage, during which the service will automatically shut down. There is no subordinate relationship between the two, they are relatively independent, and the time period setting allows for crossing, but the subsequent time setting is effective. However, try not to cross to avoid confusion in time management.

(4) Click on 'Specify times when this recipient has right' to set the rejection time period. Click the "Add" button in the "Excluded times" list box, set the time to Monday to Friday, between 8:00am and 11:00:00 am, in the pop-up "Time Slice" window, and then click the "OK" button to set the first time period. Use the same method to set the time period from 14:00:00 to 17:00:00 from Monday to Friday afternoon. At the scheduled time, the system will automatically shut down the WWW browsing service.

(5) Set the allowed usage time period. Please note that the allowed time period must be set, otherwise the system will not automatically open. Click the "Add" button in the "Included times" list box and use a similar method to set the opening hours to Saturday, Sunday, Monday to Friday from 0:00:00 to 8:00:00, 11:00 to 14:00:00, and 17:00:00 to 23:59:59.

Okay, click 'OK'. After the above settings, all members of the "user1" group will enjoy this "automatic" service.

Let's set up unlimited services for the "user2" group below.

In the "Policies" tab of the "WWW Proxy server" item, click the "Add" button to add service permissions for the "user2" group. Click on "Specify user or group" in the "Recipient" tab, then select "user2" in the list box below, and click "OK" below the current window. In the window list, you can see that the permissions after the "user2" group are "Unrestricted right". Note that the "Default rights" under "user2" should be set to "are ignored". In this way, the permissions for the "user2" group have been set, and members of the group can use the network without restrictions.

The method for setting Socks service permissions is the same as WWW browsing. Double click on the "SOCKS Proxy server" item in the "Services" tab of "GateKeeper", and the subsequent settings are exactly the same. Software such as OICQ that requires Socks services can only be used within the specified time frame. Other services and time periods can be set according to the above methods as needed.

Some network administrators may have some doubts. If a user changes their IP address to something outside the "user1" group, can they use it without restrictions? Yes, but as long as you set up the "user2" group with one IP corresponding to one computer, and then set "Guest" to not be available at any time, no matter how he changes the IP, it won't work. The setting method is to double-click "WWW Proxy server" in the "Services" window, click the "Add" button under the "Policies" tab, open the "Properties for new recipient" window, click "Specify user or group" under the "Recipient" tab, select "Guest" in the list box below, then click the "Time" tab, and click "OK" directly. An error prompt will appear, click "Yes", and then set "Default rights" under the "Guest" group to "are ignored".

II Multiple account email sending and receiving settings

The setup for receiving emails is relatively simple. Simply set the receiving email server as the proxy server address in the email sending and receiving software (taking FoxMail 3.1 as an example) account. The format of the email account is user account name+#+receiving email server address. For example, the receiving email service account for 163 can be set as username # popy.eah.net to receive new emails normally. If you cannot receive it, please check if the receiving email server address is correct and if the POP3 server port is set to the default 110.

Sending emails can be quite complicated, some use 163 free mailboxes, some use 21cn mailboxes, and there are also 263 mailboxes, no less than a dozen. Many articles have introduced the method of using a single account to send emails in Wingate. In fact, sending emails from multiple accounts only requires reassigning an empty port to each email sending server. Taking 163 and 21cn free mailboxes as examples, the specific methods are as follows:

1. Start GateKeeper, click on the "Services" tab, right-click on the blank space, and select "TCP Mapping Service" from the submenu under the "New Service" item to perform SMTP service mapping.

2. Pop up the "TCP Mapping Service Properties" window, under the default "General" tab, change the "Service" name to 163, and set the "Service" port to 25 in the "Start Options" tab.

3. In the "Default Mapping" tab, check "Enable default mapping", fill in the email sending server address "smtp. eah. net" in "Server", enter port 25 after "on", and click "OK".

In this way, the 163 email sending server is set up.

Next, let's set up the email sending server for 21cn. Repeat step 1 above, change the "Service" name to "21cn" in step 2, and reassign the "Service" port to an empty proxy server port number in the "Start options" tab. Here, I will use port 26. Fill in the 21cn email sending server address "smtp.21cn. com" below, with the port number still 25. Click "OK" to complete the setup.

If you want to set up more other email sending servers, simply change the "Service" name and set the "Service" port number under the "Start options" tab to an empty port that Wingate has not yet used. The specific proxy server ports that are empty can be seen from the port numbers displayed in the proxy service list on the "Services" tab, indicating that they are already in use, and all other ports can be assigned. ”Fill in the corresponding email sending server address for "Server" in the "Default Mapping" tag, with a port number of 25. Do not change it because it is the default email sending port for the remote email server and is not related to the proxy server port.

In addition, it is recommended to fill in the IP address of the email sending server in the "Default Mapping" tag "Server", as this will greatly improve speed and be less prone to errors. The email server address for 163 can be filled in as 202.106.185.107, and for 21cn it is 202.104.32.230. Ping its IP address before setting, such as ping smtp.21cn.com. The SMTP proxy service for Wingate has been set up.

Does the email sending and receiving software only need to set the corresponding account's email receiving server address as the proxy server address and the SMTP server port as its "Start options" tag in Wingate? quot; The 'Service' port number is sufficient.


High-speed VPN Fast VPN Preferred Accelerator VPN Reliable VPN
High quality VPN Old fashioned VPN Stable VPN(Recommend) Smooth VPN
Share with Friends: