LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-01-2003, 01:38 PM   #1
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Question How to allow a group to access certain sites


Hi there boys and girls!

I searching for a way to allow certain sites to be viewed from a unix group. The clients are on WinY2K logging into Samba PDC. I also have an IPCop PC installed. So which is the right application for me?

Thank you all!
 
Old 12-06-2003, 09:46 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
When you say sites, do you mean how can you control what web sites the clients can view or do you mean how can you limit client access to the Samba filesystem?
 
Old 12-08-2003, 01:09 AM   #3
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Original Poster
Rep: Reputation: 16
First of all thank you for your reply. What I want is to find a way to allow certain sites to be viewed from a unix group.
 
Old 12-08-2003, 03:00 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
And by sites you mean = ???

Websites?
Files within the Samba filesystem?
Other parts of network?

You will need to be more specific about what you are trying to set up.
 
Old 12-08-2003, 05:11 AM   #5
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Original Poster
Rep: Reputation: 16
Sorry about that, I must be more specific...

I ment WEBsites. What I need is sth like a proxy that will not cache the WEBsites but only allow i.e. the Financial Dept. to have access to the www.bank.com website.

Thanx!
 
Old 12-08-2003, 10:13 AM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I would try either squid and turn off the cache function (it's in the configuration HOW-TO guide) or you could use iptables to block outbound http traffic that is coming through your gateway router.

Squid can be a little bit of a challenge to setup at first, but is excellent for higher traffic situations.

To use iptables, you would have to add a rule to block outbound http packets that are not destined for www.bank.com. The exact rule would depend on how your network is setup, but would look basically like this:

iptables -I FORWARD -p tcp --dport 80 -i internal_interface -o external_interface -d ! ip_address_of_bank.com -j REJECT

Savy users will be able to get around that rather easily. A more effective way to do it (but more complex as well) is to use iptables and squid in combination. You would block all port 80 traffic and then setup squid to listen on some higher port, then configure each of the clients to use the higher level port of the proxy server for communication.
 
Old 12-09-2003, 01:52 AM   #7
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
Capt is very right I am using a similar setup here... basically I have IPTABLES running and SQUID running in TRANSPARENT mode (i think that wat its called) which means that ANY requests on port 80 (http) are automatically forwarded to port 3128 (squid default) then within my squid.conf file I have rules for some users that stop them from access urls I dont want them too.

your only problem could be allowing "users" but im sure their's a way to do it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking mostly okay, but cannot access a few sites BensonBear Linux - Networking 4 02-18-2005 08:23 AM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
i cannot access certain sites other can ? qwijibow Linux - Networking 2 11-04-2003 05:59 PM
Can't access some web sites Cichlid Linux - Distributions 2 01-13-2002 09:39 AM
Can't access some web sites! Cichlid Linux - Distributions 1 01-12-2002 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration