View previous topic :: View next topic |
Author |
Message |
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Thu Apr 16, 2009 4:29 pm Post subject: squid configuration [solved] |
|
|
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 |
|
|
nativemad Developer
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Fri Apr 17, 2009 6:11 am Post subject: |
|
|
Hi,
this is quite easy to do with squids acls!
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!
With some auth-mechanism, you can even have some "admins" with different acls!
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 |
|
|
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Fri Apr 17, 2009 2:28 pm Post subject: |
|
|
Thanks, I'll give this a try next week. |
|
Back to top |
|
|
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Fri Apr 24, 2009 6:43 pm Post subject: |
|
|
Yep, works great. Thanks! |
|
Back to top |
|
|
|