[squid-users] Running squid in a network namespace
Robert 'Bobby' Zenz
Robert.Zenz at bonsaimind.org
Sun Jan 4 15:21:31 UTC 2026
> I'd like to run squid inside this network namespace.
Can you show the service file you're using for Squid?
> But if I do the same with the systemd unit of squid, it doesn't work.
> The proxy process still runs within the standard namespace (if I curl
> using the proxy, the IP is the one of the standard namespace)
Could it be that you're editing the wrong file (`etc/systemd/system`
versus `/usr/share/lib/systemd/system` (I think...))? Or not reloading
the systemd-daemon? What does `systemctl show squid` and `systemctl cat
squid` show as configuration?
More information about the squid-users
mailing list