Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
squid configuration [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Thu Apr 16, 2009 4:29 pm    Post subject: squid configuration [solved] Reply with quote

I'm trying to set up a non-transparent proxy for a terminal server. I can point the terminal server users to a specific proxy and lock it down so it can't be changed.

The thing is, I can't figure out if squid will even do this. There's lots of docs for a transparent proxy, which I don't need. The terminal server needs to lock down access to only a handful of internal websites.

I can't tell if squid will do this. I don't need any acceleration or caching, either. The tools in windows are horrible for this sort of thing.

Does anyone know of a place to get information on this specific aspect?


Last edited by danomac on Fri Apr 24, 2009 6:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Fri Apr 17, 2009 6:11 am    Post subject: Reply with quote

Hi,

this is quite easy to do with squids acls! :P
If you don't want any special authentication and so on for the proxy, then its really straight forward... install squid, define an acl for the allowed sites and youre done! :wink:
With some auth-mechanism, you can even have some "admins" with different acls! :wink:

this is an example, which you could add to the default squid.conf:
Code:

acl public_sites dstdom_regex "/etc/squid/public-sites"
http_access allow public_sites
http_access deny all

And then /etc/squid/public-sites:
Code:

gentoo.org
google.com


Hope that helps...

Cheers!
_________________
Power to the people!
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Fri Apr 17, 2009 2:28 pm    Post subject: Reply with quote

Thanks, I'll give this a try next week.
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Fri Apr 24, 2009 6:43 pm    Post subject: Reply with quote

Yep, works great. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum