From: Michael <mutk@iprimus.com.au>
To: netfilter@lists.samba.org
Subject: Re: Fw: How to remove Established Connection
Date: Fri, 11 Oct 2002 19:15:47 +1000 [thread overview]
Message-ID: <3DA696C3.5000508@iprimus.com.au> (raw)
In-Reply-To: 002d01c270fe$86ca3c80$7cfcc5cb@humanpc
HareRam wrote:
>then ? how do i remove my establish client, when we do some accounting
>when he logged out, he should not get any browsing, as well as he should be
>removed from internet
>how can i achieve
>
>please guide me alternative method to achieve this
>
You remove the rule that accepts the established connection.
I have a specific rule for each host that is forwarded through firewall.
If I want to allow the host, I add the rule in FORWARD chain:
ACCEPT all -- * eth0 <ip_of_host>
0.0.0.0/0 state RELATED,ESTABLISHED
When I want to stop them I just remove the rule. Even if the established
entry appears and lingers in /proc/net/ip_conntrack, it can't go anywhere.
At least that's how it seems to work for me... Am I wrong??
Cheers,
Michael
next prev parent reply other threads:[~2002-10-11 9:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-11 5:28 Fw: How to remove Established Connection HareRam
2002-10-11 7:49 ` Antony Stone
2002-10-11 8:16 ` HareRam
2002-10-11 9:15 ` Michael [this message]
2002-10-11 10:02 ` HareRam
2002-10-11 12:30 ` Antony Stone
2002-10-11 14:03 ` HareRam
2002-10-11 16:15 ` DROP or REJECT HareRam
2002-10-11 17:12 ` Fw: How to remove Established Connection Antony Stone
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=3DA696C3.5000508@iprimus.com.au \
--to=mutk@iprimus.com.au \
--cc=netfilter@lists.samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox