[NCLUG] blocking internet access to local machine

Jesse Courchaine JCourcha at Colostate.Edu
Mon Dec 2 11:15:32 MST 2002


Actually that won't work with eth0, you would have to do

/sbin/iptables -i eth0 -A INPUT -j REJECT
/sbin/iptables -i eth0 -A OUTPUT -j REJECT

-Jesse

-----Original Message-----
From: nclug-admin at nclug.org [mailto:nclug-admin at nclug.org] On Behalf Of
Jesse Courchaine
Sent: Monday, December 02, 2002 11:13 AM
To: nclug at nclug.org
Subject: RE: [NCLUG] blocking internet access to local machine


/sbin/iptables -i eth0 -P OUTPUT REJECT
/sbin/iptables -i eth0 -P INPUT REJECT

That might work.

-Jesse

-----Original Message-----
From: nclug-admin at nclug.org [mailto:nclug-admin at nclug.org] On Behalf Of
dherr at frii.com
Sent: Monday, December 02, 2002 10:22 AM
To: nclug at nclug.org
Cc: dherr at frii.com
Subject: [NCLUG] blocking internet access to local machine


Is there a way to turn off internet access in Linux, but allow LAN
access?
I thought maybe my Panasonic KX-HGW200 gateway would have this
capability,
but it doesn't look like it.

I want to have a web terminal that is able to access the local web
server,
but nothing outside the LAN.

Daniel


_______________________________________________
NCLUG mailing list       NCLUG at nclug.org

To unsubscribe, subscribe, or modify your settings, go to:
http://www.nclug.org/mailman/listinfo/nclug

_______________________________________________
NCLUG mailing list       NCLUG at nclug.org

To unsubscribe, subscribe, or modify your settings, go to:
http://www.nclug.org/mailman/listinfo/nclug




More information about the NCLUG mailing list