Skip to main content
This page is for a new administrator who has a working SafeSquid appliance and needs a safe, minimal setup: browsers can use the proxy, only intended clients are allowed, and you can see why a request was allowed or blocked.
Open the Web UI at http://safesquid.cfg/ from a machine that can reach the appliance. Policy lives in the Web UI; process tunables live in startup.ini.

What you will set up

  1. Confirm the service is running
  2. Confirm how clients reach SafeSquid (listen address)
  3. Lock down who may use the proxy (Access restrictions)
  4. Point a browser at the proxy and test
  5. Add a simple content rule (Access Profiles)
  6. Learn where to look when something fails (logs)

1. Confirm the service

On the appliance:
If it is not running: /etc/init.d/safesquid start. Details: Daemon, service, and files.

2. Confirm listen address

In the Web UI open Network settings → Listen.
  • You should see at least one enabled listener (IP and port), often port 8080.
  • If Listen is empty, SafeSquid falls back to LISTEN_IP / LISTEN_PORT in startup.ini.

Example — dual listeners

  • 0.0.0.0:8080 — proxy traffic from the LAN
  • 10.0.0.5:80 — Web UI only on a management address (optional)
Later you can restrict Web UI access in Access restrictions using the Interface field so only the management listener may open http://safesquid.cfg/.
More detail: Network settings.

3. Lock down Access restrictions

Open Access restrictions. This is the security perimeter: who may connect and what they may do.
  1. Set Default Access Policy to Deny (recommended).
  2. Leave Kerberos / SSO off for this first pass (add it later; see Authentication).
  3. Add one Allow list entry for your office or lab network.

Example — allow the LAN to use the proxy

On the Allow list entry:
  • Enabled — on
  • CommentLAN proxy users
  • IP Address10.0.0.0-10.255.255.255 (use your real range; SafeSquid does not use CIDR like 10.0.0.0/8)
  • Access — enable at least proxy / HTTP rights your deployment needs (Web interface only if this entry should also reach the UI)
  • Leave Profiles, LDAP, username blank so the rule matches by IP only
Expected result: a PC in 10.0.0.010.255.255.255 can use the proxy; a client outside that range is denied.
Blank match fields mean “match any.” An Allow entry with nothing filled in can open the proxy to everyone. Always set IP, Interface, or identity criteria.
Full guide: Access restrictions.

4. Point a browser and test

  1. On a PC inside the allowed range, set the HTTP/HTTPS proxy to the appliance IP and listen port (for example 10.0.0.5:8080).
  2. Browse to a simple HTTP site (or HTTPS if your clients already trust the appliance for inspection — skip HTTPS Inspection for day one if unsure).
  3. Open Reports → Detailed logs. You should see your request with username (or anonymous), URL, and status.

Example — quick deny check

Temporarily change the Allow entry IP to a range that does not include your PC, save, and reload a page. The browser should fail to use the proxy. Restore the correct range afterward.

5. Add a simple Access Profiles rule

Access restrictions decides who may use SafeSquid. Access Profiles decides what those users may fetch (categories, sites, profiles).
  1. Open Access Profiles → Default Policies (or Secondary Policies).
  2. Add a DENY rule for a category you can test safely (or a specific host if categories are not ready yet).

Example — block one test site for everyone

  • Enabled — on
  • CommentBlock example test host
  • Match the host or category your lab uses
  • ActionDENY (use DO NOT BYPASS if you do not want a temporary bypass cookie)
Expected result: matching requests show a block page; Detailed logs show a profiles-related filter_name / reason. See Access Profiles.

6. When something fails

  1. Note the time, client IP, and URL.
  2. Search Reports → Detailed logs for filter_name and filtering_reason.
  3. On a test network only, set System configuration → Send Debugging Headers To → CLIENT and inspect response headers in the browser. See Debug response headers.
  4. Turn debugging headers back to NONE when finished.
Full workflow: Logging and troubleshooting.

What to do next

See also