From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: port forwarding not working
Date: Thu, 15 Apr 2004 16:07:16 +0200 [thread overview]
Message-ID: <1082038036.23863.41.camel@raylinux.internal> (raw)
In-Reply-To: <004601c422f1$9162a3c0$ce00a8c0@xppro1>
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
On Thu, 2004-04-15 at 15:57, Nick Vazirianis wrote:
> iptables v1.2.8
> Linux Fedora Core 1
> Kernel 2.6.3
>
> I am having some trouble getting port forwarding within the attached
> script.
> Please refer the line starting # enable port forwarding for
> BitTorrent
> Incoming packets to these ports are being dropped (and logged) by the
> section lower down in the script, I have tried adding the enable port
> forward section in different parts of the script, but this makes no
> difference.
>
> could soneone please help, I even tried adding the line
> $IPTABLES -A INPUT -i $EXT_IF -p tcp --dport 6881:6885 -j ACCEPT
> but i believe this only allows incoming into the firwall and not
> redirecting to another host
>
> someone please help
Maybe the source s not 6881 ...
$IPTABLES -A FORWARD -s 6881 -p tcp --dport 6881 -j ACCEPT
try
$IPTABLES -A FORWARD -p tcp --dport 6881 -j ACCEPT
instead
--
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD 00EE 8757 EE47 F06F FB28
--
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-04-15 14:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-15 13:57 port forwarding not working Nick Vazirianis
2004-04-15 14:07 ` Ray Leach [this message]
2004-04-15 14:28 ` Alexander Economou
2004-04-15 14:53 ` Antony Stone
2004-04-15 15:58 ` Cedric Blancher
2004-04-15 14:16 ` Antony Stone
-- strict thread matches above, loose matches on Subject: below --
2004-04-15 15:08 aksingh
2007-04-29 3:15 Port " Neil Aggarwal
2007-04-29 7:10 Port forwarding not working (nfcan: to exclusive) (nfcan: to exclusive) Jim Laurino
2007-04-29 13:06 ` Neil Aggarwal
2007-04-29 14:39 ` Port forwarding not working Jim Laurino
2007-04-30 2:11 ` Neil Aggarwal
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=1082038036.23863.41.camel@raylinux.internal \
--to=raymondl@knowledgefactory.co.za \
--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