Implementing a proxy server for Windows domain authentication under Linux
Summary:The proxy server used by the company is based on the Linux system, and there are often some more or less problems. Directly affecting users' norma…
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
The proxy server used by the company is based on the Linux system, and there are often some more or less problems. Directly affecting users' normal internet access. Because it was done by a former colleague, and I have been busy with other projects, I don't have time to adjust and optimize it. Not long ago, the Linux system suddenly couldn't enter the GNU/GNOME desktop environment, which prompted me to make the decision to re plan and deploy a proxy server system that meets the needs of the current application environment.
1、 Before deployment, let's take a look at the system environment of the existing proxy server: the proxy server uses Squid 2.3 based on Redhat Linux 8. x operating system with NCSAR authentication mode. Due to the outdated system and lack of stability, there are also the following shortcomings:
Due to issues with Squid configuration, the system is unable to automatically release the disk space occupied by Squid's cache and logs. Often, Squid service stops due to insufficient disk space, requiring manual deletion of cache and logs to free up disk space.
2. It is necessary to set different passwords for different users on the proxy server. In the past, the company did not have many employees, so it was not very troublesome. However, with the development of the company, the number of employees has increased significantly, which has increased the workload of IT management personnel. At the same time, it is also very difficult to ensure consistency with Windows domain accounts;
3. The client cannot use the AD integrated account authentication mode, and users need to repeatedly enter their username and password every time they access the Internet, greatly reducing their user experience.
4. No implementation of setting different user permissions for different Internet access groups;
5. Unable to supervise user access to the Internet, directly affecting the normal business activities of the company's network.
2、 Based on this, it is not difficult to find that this proxy server requires frequent maintenance, which greatly affects the work efficiency of IT staff. Based on the current situation of the company, the functions of the proxy server have been re planned as follows:
1. Able to automatically reclaim disk space occupied by Squid under certain conditions;
2. Use the user account information on the AD server to verify the user's identity and avoid duplicate settings of user information;
3. Provide three types of user permissions:
4. Refuse all permissions;
5. Allow access to the Internet, but do not allow downloading of videos, audio, executable files, etc;
6. Unrestricted access to any Internet resource;
7. IT managers can view user access logs and monitor user behavior when accessing the Internet;
If you need a domestic VPN agent, a US VPN agent, or a Hong Kong VPN agent, you can contact us. Our VPN agents have multiple lines, fast speed, and strong stability. Safe return, encrypted data transmission ensures the security of your data transmission!
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

