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 08-20-2006, 02:41 AM   #1
Termina
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian
Posts: 14

Rep: Reputation: 0
Restricting access to a port based upon uid?


I'd like to limit access to ports, based upon uid.

I'd like to make sure that certain users cannot tunnel (using ssh) to certain ports and/or IP addresses inside my network.

Does anyone know a way to do this?
 
Old 08-20-2006, 03:01 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You can filter traffic based on user id. Have a look at Alien Bob's article at http://alien.slackbook.org/dokuwiki/doku.php?id=slackwarearentalcontrol. In the section "The iptables rules", there is an example of this.
 
Old 08-20-2006, 10:32 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Next to that the GRSecurity kernel patch allows you much more and more finegrained control (in contrast to Iptables) over who can use what network posts.
 
  


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
Restricting Port Forwarding over OpenSSHd wwnexc Linux - Software 1 01-24-2006 10:15 AM
Restricting access Menestrel Linux - Newbie 1 06-07-2005 08:17 AM
changed UID, now can't access crons BrianK Linux - General 4 05-23-2005 04:23 PM
restricting service based on mac address sixth_sense Linux - Networking 3 09-28-2004 08:59 PM
restricting access to APs name_in_use450 Linux - Wireless Networking 1 08-06-2004 08:28 AM

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

All times are GMT -5. The time now is 12:45 AM.

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