From mboxrd@z Thu Jan 1 00:00:00 1970 From: "deepak singhal" Date: Sat, 28 Dec 2002 04:45:55 +0000 Subject: Re: [LARTC] restricting MAC or IPs using IPTABLES in Linux 7.3 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org

This can be achieved with a combination of souce based routing ( Source IP and MAC based) with combination of iptables rules.

Deepak Singhal

----- Original Message -----
From: "Shaheen Hossain"
Date: Fri, 27 Dec 2002 19:13:45 +0600
To:
Subject: [LARTC] restricting MAC or IPs using IPTABLES in Linux 7.3

RH Linux 7.3, 2.4 Kernel
 
I am trying to force all of my LAN users to go through a SQUID (2.4Stable1) proxy I have setup. And I thought I would be able to use iptables to deny services to all asking for PORT 80 or 8080 for web browsing. They should be using SQUID (certain IP, certain port # given) for that.
 
For all other ports, I would only allow certain IP addresses or certain MAC addresses to go through.
 
1. Can I force (allowable MAC or IPs) to use proxy (SQUID) for web browsing?
2. For non-web browsing activities, can I also restrict non-allowed MAC or IPs?
 
Please give me or point me towards some specific examples on these two tasks if you would. Thanks
--

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com

Meet Singles

_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/