Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Eric Leblond <eric@regit.org>
To: netfilter@lists.netfilter.org
Subject: Re: Problem for Bittorrent Application behind Linux Firewall
Date: Tue, 23 Sep 2003 11:46:00 +0200	[thread overview]
Message-ID: <1064310359.17646.17.camel@porky> (raw)
In-Reply-To: <049201c381b3$672939f0$5a01a8c0@wireless.cheung.com>

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

Le mar 23/09/2003 à 11:16, Tom a écrit :
> Hello Everyone:
>  
> #! /bin/sh
> iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 6881:6889 -j DNAT
> --to 192.168.1.90:6881-6889
> iptables -A FORWARD -p tcp -s 192.168.1.90 --dport 6881:6889 -j ACCEPT

If someone comes from external network, i.e Internet, you have to
authorize packet to your machine :
-d 192.168.1.90 and not -s !

BR,
-- 
Eric Leblond
Nufw, Now User Filtering Works (http://www.nufw.org)

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-09-23  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23  9:16 Problem for Bittorrent Application behind Linux Firewall Tom
2003-09-23  9:46 ` Eric Leblond [this message]
2003-10-03 11:03 ` Harald Welte

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=1064310359.17646.17.camel@porky \
    --to=eric@regit.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox