Quoting Andrew Hotlab <[email protected]> (from Thu, 3 Jun
2010 22:04:44 +0000):
I've never had to make Squid listening on port 80, but referring its
startup script in /usr/local/etc/rc.d/:
# squid_user: The user id that should be used to run the Squid master
# process. Default: squid.
# Note that you probably need to define "squid_user=root" if
# you want to run Squid in reverse proxy setups or if you want
# Squid to listen on a "privileged" port < 1024.
So you only need to write the following line in /etc/rc.conf to have
Squid listening on this privileged port:
squid_user="root"
An alternative is to change the sysctl
net.inet.ip.portrange.reservedhigh. By lowering it, other users than
root are allowed to bind to ports <1023 (the system prevents non-root
binds to the port X in the range reservedlow <= X <= reservedhigh).
Bye,
Alexander.
--
The District of Columbia has a law forbidding you to exert pressure on
a balloon and thereby cause a whistling sound on the streets.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[email protected]"