From: Brent Clark <bclark@eccotours.co.za>
To: netfilter@lists.netfilter.org
Subject: Re: Redirecting incoming packets to other port
Date: Wed, 11 Oct 2006 10:48:28 +0200 [thread overview]
Message-ID: <452CAFDC.3070909@eccotours.co.za> (raw)
In-Reply-To: <c936c6b70610110109v73453362h65b8e34d6771dadd@mail.gmail.com>
Holger Kinkelin wrote:
> Hello everybody
>
> how can I redirect packets sent to my computer to another port?
>
> I tried: iptables -A PREROUTING -t nat -p udp --dport 5060 --sport
> 5060 -j DNAT --to-destination 192.168.0.21:5063
>
> This rule is accepted but doesn't do anything. There are no other
> rules that could cause side effects.
>
> Regards,
> Holger
http://www.linuxtopia.org/Linux_Firewall_iptables/x4508.html
HTH
Kind Regards
Brent Clark
next prev parent reply other threads:[~2006-10-11 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-11 8:09 Redirecting incoming packets to other port Holger Kinkelin
2006-10-11 8:48 ` Brent Clark [this message]
2006-10-11 9:44 ` Holger Kinkelin
2006-10-11 10:08 ` Brent Clark
2006-10-12 6:47 ` Holger Kinkelin
2006-10-11 10:04 ` Cedric Blancher
2006-10-11 13:41 ` Mohammad Farooq
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=452CAFDC.3070909@eccotours.co.za \
--to=bclark@eccotours.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 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.