All of lore.kernel.org
 help / color / mirror / Atom feed
From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: SNAT issue for locally generated UDP packet
Date: Wed, 15 Jun 2005 08:57:01 -0500	[thread overview]
Message-ID: <200506150857.01210.rob0@gmx.co.uk> (raw)
In-Reply-To: <42AF37B4.8080000@foundrynet.com>

On Tuesday 14 June 2005 15:01, Baskaran Mohandass wrote:
> I am trying to source nat the packet generated locally using
> iptables. Machine is running Fedora core2 and one of the interface
> address is 5.5.5.7.  Sip server sends a packet with source port 5060
> and ip address 5.5.5.7. I want to change the IP address and the
> source port when it goes out.

Change the source IP to what? Change the source port to what?

> Reading the IPtables manual only rule i 
> can think of is iptables -t nat -A POSTROUTING --protocol udp
> --source-port 5060  -j SNAT --to-source 5.5.5.7:1024-32000.

That's the same IP.

> this. If there is any patch available for this I am ready to try.

Describe better what it is you need to do, and I bet your answer is in 
the man page.
-- 
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header


  reply	other threads:[~2005-06-15 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14 20:01 SNAT issue for locally generated UDP packet Baskaran Mohandass
2005-06-15 13:57 ` /dev/rob0 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-06-15  8:16 Sietse van Zanen
2005-06-15  8:52 ` Baskaran Mohandass

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=200506150857.01210.rob0@gmx.co.uk \
    --to=rob0@gmx.co.uk \
    --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.