F11 SELinux Squid & port 2082

Daniel J Walsh dwalsh at redhat.com
Tue Jun 23 13:33:36 UTC 2009


On 06/23/2009 01:37 AM, Mark Panen wrote:
> Hi
>
> It is impossible for me to reach a web page that uses port 2082
> through squid as SELinux keeps blocking it. If i bypass squid i can
> reach the web page.
>
> How do i configure SELinux to allow port 2082 ?
>
> Mark
>

One of two ways, you can either allow squid to connect to any port by 
turning on the squid_connect_any boolean

setsebool -P squid_connect_any 1

Or you can tell SELinux port 2082 is an http port

semanage port -a -t http_port_t 2082





More information about the fedora-list mailing list