Gentoo Archives: gentoo-user

From: Adam <adam@××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] squid - allowing only one domain
Date: Wed, 20 Jan 2010 10:20:25
Message-Id: 4B56D9D7.9060301@jaftan.com.au
In Reply to: [gentoo-user] squid - allowing only one domain by Joseph
1 On 01/20/10 16:53, Joseph wrote:
2 > I'm testing squid and want to allow only one domain but it is not
3 > working (using iptable + squid)
4 > iptable:
5 > ACCEPT tcp -- anywhere anywhere tcp
6 > dpt:http owner UID match squid
7 > ACCEPT tcp -- anywhere anywhere tcp
8 > dpt:3128 owner UID match squid
9 > REDIRECT tcp -- anywhere anywhere tcp
10 > dpt:http redir ports 3128
11
12 Using "owner" is incorrect, as the packets are not locally generated so
13 the OS has no user context for them.

Replies

Subject Author
Re: [gentoo-user] squid - allowing only one domain Joseph <syscon780@×××××.com>