All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shaheen Hossain" <shaheen@o2oSoft.com>
To: lartc@vger.kernel.org
Subject: [LARTC] restricting MAC or IPs using IPTABLES in Linux 7.3
Date: Fri, 27 Dec 2002 13:13:45 +0000	[thread overview]
Message-ID: <marc-lartc-104099495212424@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1454 bytes --]

             reply	other threads:[~2002-12-27 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-27 13:13 Shaheen Hossain [this message]
2002-12-27 15:12 ` [LARTC] restricting MAC or IPs using IPTABLES in Linux 7.3 Martin A. Brown
2002-12-28  4:45 ` deepak singhal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104099495212424@msgid-missing \
    --to=shaheen@o2osoft.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.