From: Tarak Ranjan <tarak.ranjan@liqwidkrystal.com>
To: netfilter@vger.kernel.org
Cc: Rob Sterenborg <rob@sterenborg.info>
Subject: Re: Direct Internet Connection For Client
Date: Tue, 13 Nov 2007 17:16:11 +0530 [thread overview]
Message-ID: <47398E83.9020003@liqwidkrystal.com> (raw)
In-Reply-To: <000901c825cd$09c13700$1d43a500$@info>
[-- Attachment #1: Type: text/plain, Size: 624 bytes --]
Rob Sterenborg wrote:
>>
> If I'm correct you've posted this question before and when I looked
> through that script I didn't have much trust in it. If you really want
> good advice, post your ruleset (and perhaps routing table). Otherwise,
> simply blocking internet access is done like this:
>
> $ipt -A FORWARD -s <net_lan> -p tcp --dport 80 \
> -j REJECT --reject-with tcp-reset
>
> The actual place where you want to insert the rule depends on the script
> you're currently using. This will do nothing if packets are already
> accepted by a previous rule.
>
Here is my iptables rules........ as an attachment
[-- Attachment #2: custom_rules.sh --]
[-- Type: application/x-shellscript, Size: 9850 bytes --]
prev parent reply other threads:[~2007-11-13 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 7:29 Direct Internet Connection For Client Tarak Ranjan
2007-11-13 8:04 ` Покотиленко Костик
2007-11-13 8:13 ` Rob Sterenborg
2007-11-13 11:46 ` Tarak Ranjan [this message]
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=47398E83.9020003@liqwidkrystal.com \
--to=tarak.ranjan@liqwidkrystal.com \
--cc=netfilter@vger.kernel.org \
--cc=rob@sterenborg.info \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox