LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   block internet from 1 pc on local network (https://www.linuxquestions.org/questions/linux-networking-3/block-internet-from-1-pc-on-local-network-281177/)

bgriesi 01-23-2005 09:20 AM

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.

Steve Cronje 01-23-2005 12:07 PM

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

bgriesi 01-23-2005 01:17 PM

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.

btmiller 01-23-2005 01:38 PM

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.

bgriesi 01-23-2005 01:44 PM

Would I do that form with in my freesco firewall then? I am assuming so

Thanks


All times are GMT -5. The time now is 02:44 PM.