Setup Your Secure Web Gateway With SafeSquid For Windows Platform

From Secure Web Gateway
Revision as of 19:46, 15 June 2022 by Pratik (talk | contribs) (→‎Post-Installation Information)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

SafeSquid for Windows SWG should be used as a Service on Microsoft Windows. SafeSquid Service can also be controlled like any other Windows service from the Service Management Console. SafeSquid Service helps you to distribute Internet Access across your enterprise, while providing you Total Content Control & Total Access Control. It has all the features for Content Filtering that you would ever require to ensure that the Internet Usage in your enterprise, is never abused or misused. It ensures that the Internet Usage in your enterprise, is always as per your Corporate Internet Access Policy.
SafeSquid for Windows SWG installation process is quite easy, and self-intuitive. SafeSquid for Windows SWG Setup will automatically install the necessary files required for execution of SafeSquid service. SafeSquid for Windows SWG package is bundle with SafeSquid Service Manager and SafeSquid Support Tar-Ball Generator.

 

Prerequisites

The following information is important to consider before beginning to install SafeSquid for Windows SWG.

  • Download latest version of SafeSquid for Windows SWG from - Latest Windows SWG
  • You will need Administrator rights on Windows machine to install SafeSquid for Windows SWG.
  • You will need Administrative privileges to start, stop, restart or modify the startup parameters of SafeSquid Service.
  • You have to provide the direct internet access to the SafeSquid service IP while installation.
  • You have to provide sufficient hardware to run SafeSquid Service. See the Hardware Requirements here -   Hardware requirements

 

Installation Process

Download and Install Latest SafeSquid Windows SWG Package

1. Download latest SafeSquid for Windows SWG package from - http://downloads.safesquid.net/#

Windows Instalation1 (2).PNG

 

2. Save the Latest SafeSquid for Windows SWG Package on Disk.
Windows Instalation1 (3).PNG

 

3. Find the latest SafeSquid for Windows SWG setup/package downloaded on your machine. Double click the downloaded SafeSquid for Windows SWG Setup file to start installation process.
Windows Instalation1 (4).PNG

 

4. Enter your Name and Company name.
Windows Instalation1 (5).PNG

 

5. Read the End-User License Agreement. Select 'I accept the agreement' and click on 'Next' button to continue.
Windows Instalation1 (6).PNG

 

6. Read the Important and Helpful Information about SafeSquid before you Start Installation.
Windows Instalation1 (7).PNG

 

7. Click on 'Next' button to continue with default Var Directory path OR select a different path. SafeSquid service will use this path to store cache content, database, logs, etc. 
Windows Instalation1 (8).PNG

 

8. Click on 'Next' button to continue with default Usr directory path OR select a different path. SafeSquid service will use this path to store policies, SSL certificates and Web-GUI supporting files.
Windows Instalation1 (9).PNG

 

9. Click on 'Next' button to continue with default Log directory path OR select a different path. SafeSquid service will use this path to store all type of Log files.
Windows Instalation1 (10).PNG

 

10. Click on 'Next' button to continue with default option OR select different path to store SafeSquid shortcuts.
Windows Instalation1 (11).PNG

 

11. Select whether Desktop and QuickLaunch Icon be created for SafeSquid's Service Manager. Click on 'Next' button to continue with installation.
Windows Instalation1 (12).PNG

 

12. Your preferred settings are displayed for review. Click on 'Back' button and traverse till the page to change any of setting. Click on 'Install' button to proceed with current installation settings.
Windows Instalation1 (13).PNG

 

 

 You can click on 'Cancel' button in between to stop the installation Process.
Windows Instalation1 (14).PNG

 

13. Post Installation information page is displayed for your reference. Click 'Next' button to continue with setup.
Windows Instalation1 (15).PNG

 

14. Your installation process is completed. You have to Activate the Product before using it.
Windows Instalation1 (16).PNG

 

15. You will find Installation Log at the end of Product Installation. This log will provide you detail information about installation, whether its completed with any problem or not.
Windows Instalation1 (17).PNG


SafeSquid Service Manager
SafeSquid Service Manager is a simple application that merely helps you to Start, Stop, Restart and Modify/View SafeSquid startup parameters manually, in case you want to. Startup parameters that effect SafeSquid Service to execute are stored in registry. SafeSquid Service Manager provides the interface to modify these startup parameters. Only under exceptional cases these values need to be modified.

SafeSquid Service Manager can used to be accessed from the Quick Launch ToolBar(if you opted for it), or from Windows Desktop(if you opted for it).
You can find SafeSquid Service Manager from Microsoft Windows Start Menu. Just start typing safesquid on Start Menu to find all the SafeSquid associated programs.

Windows Instalation1 (19).PNG

 

To Restart the SafeSquid Service select 'Restart the SafeSquid Service' and click on 'Next' button.
Windows Instalation1 (20).PNG

 

To Start the SafeSquid Service select 'Start the SafeSquid Service' and click on 'Next' button.
Windows Instalation1 (21).PNG

 

To Stop the SafeSquid Service select 'Stop the SafeSquid Service' and click on 'Next' button.
Windows Instalation1 (22).PNG

 

To modify/view the startup parameters select 'Modify/View the startup parameters' and click on 'Next' button.
1. Steps to start modify/view the startup parameters.
Windows Instalation1 (24).PNG

 

2. Select the checkbox(es) that you would like SafeSquid Native Log to store. Selecting too many options could effect the size of the log file. Click on 'Next' button to continue with default selections.
Windows Instalation1 (25).PNG

 

3. Select maximum Log Size Limit in bytes to store on disk. Also set what action to be taken after this limit is reached. Click 'Next' button to continue with default option.
Windows Instalation1 (26) N.PNG

 

4. Enter IP Address and Port on which SafeSquid should listen, or click 'Next' button to continue with default option.
Windows Instalation1 (27).PNG

 

5. Define Master Server in a Master-Slave installation.
Stand-Alone Setup: This option is only effective, if you are setting up a SafeSquid Slave Server to an existing SafeSquid Master Server. If you are setting up a stand-alone server, ignore this option (leave it blank) and click 'Next' button to continue.
SafeSquid Slave Setup: If you are setting up a SafeSquid Slave Server to an existing SafeSquid Master Server, specify either FQDN:PORT or IP:PORT of the Master Server, on which Master SafeSquid Server is listening, to synchronize configuration from the Master Server.
Windows Instalation1 (28).PNG

 

6. Specify the Buffer sizes for Inbound and Outbound Sockets to improve the performance. Click on 'Next' button to continue with default option.
Windows Instalation1 (29).PNG

 

7. Specify the TCP Keepalive parameters to improve overall stability and system resource utilization. Click 'Next' button to continue with default value(Recommended).
Windows Instalation1 (30).PNG

 

8. Specify the Password cache size with expiry time(in seconds) to reduce latency when authentication is required from remote authentication system i.e. ADS / LDAP server. Click 'Next' button to continue with default settings.
Windows Instalation1 (31).PNG

 

9. Specify the comma separated list of section names which should not be synchronized. Always include cache section since each service instance has its own set of cached objects.
Windows Instalation1 (32).PNG

 

10. Specify the comma separated list of sections for synchronization with Master-Slave configuration. Leave blank for synchronizing every sections of SafeSquid except cache section.
Windows Instalation1 (33).PNG

 

11. Specify the synchronization time in seconds for Master-Slave installation. Click 'Next' button to continue with default option.
Windows Instalation1 (34).PNG

 

12. Specify the Stack size to allocate memory for each posix thread. Click 'Next' button to continue with default option.
Windows Instalation1 (35).PNG

 

13. Specify the Overload factor value. Click on 'Next' button to continue with default option.
Windows Instalation1 (36).PNG

 

14. Specify the socket Timeout value. Click 'Next' button to continue with default option.
Windows Instalation1 (37).PNG

 

15. Specify the Thread Timeout value. Click 'Next' button to continue with default option.
Windows Instalation1 (38).PNG

 

16. Enter a different HOSTNAME to identify this proxy host. Hostname is the name by which the proxy host or service name is referred to in the profile section. Click 'Next' button to continue.
Windows Instalation1 (39).PNG

 

17. Specify the Domain name for SafeSquid server. Click 'Next' button to continue.
Windows Instalation1 (40).PNG

 

18. Specify the maximum concurrent requests ad maximum number of handles, to preserve the system stability. Click 'Next' button to continue with default option(Recommended).
Windows Instalation1 (41) N.PNG

 

19. Specify the UDP Sockets to write logs on UDP server. Click 'Next' button to continue.
Windows Instalation1 (42).PNG

 

20. Specify the System Proxy which will be used or Forwarding. Click 'Next' button to continue.
Windows Instalation1 (43).PNG

 

21. Select “Select to Save” checkbox to Save modified Startup parameters. Click 'Next' button to continue.
Note: You will have to Restart SafeSquid Service for the changes to take effect.
Windows Instalation1 (44).PNG

 

SafeSquid Support Tar-Ball Generator
The SafeSquid Support Tar-ball Generator collects important technical information, without altering any existing process or information, from your computer system. The process will first collect all the information, at a location of your choice.
The collected information will then be compressed into an unencrypted zip file, that we generically refer to as "Support Tar-Ball".
You are required to manually email the "Support Tar-Ball" that will be produced at the end of this process, along with a description of the problems that you have experienced due to SafeSquid's mal-functioning or any other anomaly, that you may have detected.

1. Steps to Generate Support Tar-Ball. Just start typing safesquid on Start Menu to find SafeSquid Support Tar-Ball Generator.
Windows Instalation1 (46).PNG

 

2. Read the Consent Agreement. Select I consent and click on 'Next' button to continue.
Windows Instalation1 (48).PNG

 

3. Select the different location where SafeSquid Support Tar-Ball should be created. Also select the Action to be taken when SafeSquid Service terminates abnormally. Click 'Next' button to continue with default option.
Windows Instalation1 (50).PNG
Support Tar-Ball Generator collects important information of the causes and result of process anomalies or failures. You can interrupt the Tar-Ball generation in between.
Windows Instalation1 (51).PNG

 

4. Support Tar-Ball Generated is saved at location “C:\safesquid_support_tarballs”(default).
Windows Instalation1 (52).PNG

 

You can check the uncompressed support tar-ball. You will find extracted Log files and System information stored in a Support folder.
Windows Instalation1 (53).PNG
 

Post-Installation Information

  • You will need Activation Key to activate SafeSquid for Windows SWG.
        If you are a new user, open http://www.safesquid.com from browser and click on Get Activation Key tab. You have to fill registration form to obtain an Activation Key.
  • You may discover SafeSquid Service is not running due to some of Microsoft Windows DLL files either missing or corrupt. You have to download and restore missing DLL files to fix DLL errors manually.
  • SafeSquid for Windows SWG, by default, has been configured to listen on '0.0.0.0:8080' to listen on all the IPs on the system. You can change the 'Listen Sockets' parameter using SafeSquid Service Manager to 'IP:8080' (e.g. - 192.168.0.1:8080) to listen on the specified IP only.
  • SafeSquid can be managed via it's browser-based GUI after installation. To access the Interface, set the proxy settings of your browser to use <SafeSquid_IP:PORT> and access the URL - http://safesquid.cfg
  • SafeSquid Service Manager is a simple application that merely helps you to Start, Stop, Restart and Modify/View SafeSquid startup parameters. You can refer to SafeSquid Service Manager section above. You will have to restart SafeSquid service for the changes take effect.
  • SafeSquid Support Tar-Ball Generator is another application that helps you to collect important technical information, without altering any existing process or information, from your computer system. The collected information will then be compressed into an unencrypted zip file, that we generically refer to as "Support Tar-Ball". You can refer to SafeSquid Support Tar-Ball Generator section above.