LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2005, 09:20 AM   #1
bgriesi
Member
 
Registered: Aug 2003
Location: MidWest
Distribution: Mandrake, knoppix
Posts: 55

Rep: Reputation: 15
block internet from 1 pc on local network


Okay I want to block one computer from going out to the internet but still be able to connect to everything on my local network.

I was wondering if I could do this via freesco or smoothwall and what would it be called?

I found a lot of info on IPtables but I am not sure if this is what I am looking for?

Any ideas would be greatly appreciated.
 
Old 01-23-2005, 12:07 PM   #2
Steve Cronje
Member
 
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158

Rep: Reputation: 31
Re: block internet from 1 pc on local network

Quote:
Originally posted by bgriesi
Okay I want to block one computer from going out to the internet but still be able to connect to everything on my local network.

I was wondering if I could do this via freesco or smoothwall and what would it be called?

I found a lot of info on IPtables but I am not sure if this is what I am looking for?

Any ideas would be greatly appreciated.
Depends on what distro you are using. I see this on the Mandrake page:

Quote:
Shorewall is a comprehensive firewall system which can be configured with just a few clicks in the Mandrakelinux Control Center.
I believe Knoppix has Shorewall as well

The simplest would probably be to Google for a tutorial.

HTH
Steve
 
Old 01-23-2005, 01:17 PM   #3
bgriesi
Member
 
Registered: Aug 2003
Location: MidWest
Distribution: Mandrake, knoppix
Posts: 55

Original Poster
Rep: Reputation: 15
Well thanks I will check it out I currently have Mandrake as a ftp server and Freesco for a firewall and I have two Windows XP clients and a Mac OS X client on my network as well as two networked printers.
 
Old 01-23-2005, 01:38 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,288

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The uptables command would be something like:

iptables -A FORWARD -s <restricted pc> -d ! <local LAN> -j DROP

Replace restricted pc with the IP of the computer to drop and local LAN with the address.mask of your LAN.
 
Old 01-23-2005, 01:44 PM   #5
bgriesi
Member
 
Registered: Aug 2003
Location: MidWest
Distribution: Mandrake, knoppix
Posts: 55

Original Poster
Rep: Reputation: 15
Would I do that form with in my freesco firewall then? I am assuming so

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Email Server Able to see Local Network but not Internet?? thiessenstuart Linux - Networking 3 08-24-2005 03:29 PM
Problem same DNS between Internet and local network b:z Linux - Networking 6 03-28-2005 07:03 AM
On local network - can't get to internet kook Linux - Wireless Networking 12 03-01-2005 10:45 AM
Can go Local network, can't go internet!! nectron101 Linux - Hardware 2 11-27-2004 10:03 AM
local network okay - no internet Who Linux - Networking 7 03-26-2003 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration