LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-16-2008, 03:03 AM   #1
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Rep: Reputation: 0
How to disable Internet use


Hi all,

There is a request from my Manager to disable Internet usage on one of the Linux machine running Suse 9.0.

The thing is we'd like to have LAN connection but wouldn't want the client to surf around..

Could anyone assist, please?

Thanks..
 
Old 01-16-2008, 05:08 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Block the system by MAC address from going on the Internet at the router/firewall.
 
Old 01-16-2008, 05:41 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Or if you want to do this on the client, it can be done like:
Code:
iptables -I OUTPUT -o eth0 -d ! 192.168.1.0/24 -j REJECT
Replace eth0 with the actual interface name, and 192.168.1.0/24 with the actual LAN subnet.
 
Old 01-25-2008, 01:43 AM   #4
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks a lot.. Really appreciate 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
disable Internet access rsathishkumarr Linux - Security 1 08-01-2007 02:08 AM
Disable an Internet proxy raja1979 Linux - Security 8 03-02-2006 03:45 AM
disable internet access to server jonfa Linux - Networking 3 06-24-2005 02:11 PM
How do you disable the internet? TippyToes Linux - Software 6 01-15-2004 11:29 PM
disable login over internet keevitaja Linux - Newbie 5 08-20-2002 05:43 PM

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

All times are GMT -5. The time now is 05:48 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