All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Schuster <schuster.sven@gmx.de>
To: Amir Zangeneh <amir@noytrino.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: udp portforward on same interface
Date: Tue, 15 Jul 2003 15:37:02 +0200	[thread overview]
Message-ID: <3F14037E.8050206@gmx.de> (raw)
In-Reply-To: <060e01c34a32$ad0df860$15d2f181@TheTraveller>


Hello,

first of all this is the the netfilter developing mailing list, maybe
you try the users mailing list next time?? ;-)

What you want to do can easily be done with the REDIRECT
target. Try something like

iptables -t nat -A PREROUTING -p udp --dport 78 -j REDIRECT --to-ports 98

Hope this helps ;-)

Sven


Amir Zangeneh wrote:

> Hi
>  
> I'm using iptables as a firewall system and I'm very pleased. But I'm 
> trying to make a rule which forwards a udp port to another on the same 
> interface.. I want users who connect to port 78 be redirected to port 
> 98.. Is it possible to do this with iptables? If yes.. Could someone 
> give me an example.. thank you..
>  
>  
> Amir

  parent reply	other threads:[~2003-07-15 13:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 18:06 udp portforward on same interface Amir Zangeneh
2003-07-15 12:36 ` Patrick McHardy
2003-07-15 13:37 ` Sven Schuster [this message]
2003-07-15 13:38 ` Sven Schuster

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=3F14037E.8050206@gmx.de \
    --to=schuster.sven@gmx.de \
    --cc=amir@noytrino.com \
    --cc=netfilter-devel@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.