From: Askar <askarali@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: Allow particular website/port
Date: Fri, 11 Feb 2005 10:11:41 +0500 [thread overview]
Message-ID: <a0f69e5050210211124a0269@mail.gmail.com> (raw)
In-Reply-To: <1108081685.420bfc1516440@mail.gnvfc.net>
The task of blocking certain sites is definitly suited for "squid" as
jason suggest and pls don't *insists* :)
you can block messengers via iptables if you know which ports they are
using for example
## blocking MSN
iptables -A FORWARD -p tcp --dport 1863 -j DROP
##block yahoo
iptables -A FORWARD -p tcp --dport 5050 -j DROP
regards
On Fri, 11 Feb 2005 05:58:05 +0530, spdesai@gnvfc.net <spdesai@gnvfc.net> wrote:
> I want to use Netfilter only instead of squid....pl. give me solution through
> netfilter
>
> Quoting Eric Leblond <eleblond@inl.fr>:
>
> > use a proxy (squid trasnparent if you want) ... netfilter can not
> > cleanly filter at level.
> >
> > On Fri, 2005-02-11 at 01:04 +0530, spdesai@gnvfc.net wrote:
> > > Hi
> > >
> > > I have one linux machine with two NIC cards. One is connected to internet
> > and
> > > one is private PC. Below is my IP configuration
> > >
> > > I have enable ip_forward to 1 in linux machine as well as donw masqared in
> >
> > > linux.
> > >
> > > I can browse the internet as well from window machine.
> > >
> > > Now I want to allow/restricted my window machine to access/deny particular
> >
> > > site/block/messanger ...
> > >
> > > i have tried with FORWARD chain but..it restricted all HTTP traffic which i
> >
> > > dont want.
> > >
> > > So pl. give me the solution.
> > >
> > > Thanks in advance
> > >
> > > Suhag
> > >
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > >
> > >
> >
> >
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>
--
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
next prev parent reply other threads:[~2005-02-11 5:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-10 19:34 Allow particular website/port spdesai
2005-02-10 20:10 ` Jason Opperisano
[not found] ` <1108065714.8043.0.camel@porky>
[not found] ` <1108081685.420bfc1516440@mail.gnvfc.net>
2005-02-11 5:11 ` Askar [this message]
2005-02-13 6:53 ` spdesai
2005-02-13 7:09 ` Askar
2005-02-13 7:54 ` spdesai
2005-02-13 15:18 ` Jason Opperisano
2005-02-14 5:01 ` spdesai
2005-02-11 7:09 ` Marcin Giedz
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=a0f69e5050210211124a0269@mail.gmail.com \
--to=askarali@gmail.com \
--cc=netfilter@lists.netfilter.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.