Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Craig Packard <cpackard@zoominternet.net>
To: Ralf Spenneberg <lists@spenneberg.org>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: UDP DNAT Problem
Date: Fri, 7 Mar 2003 10:47:44 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0303071043540.20848-100000@linux1> (raw)
In-Reply-To: <1049446568.1868.34.camel@kermit.spenneberg.de>

On 4 Apr 2003, Ralf Spenneberg wrote:

> Am Fre, 2003-04-04 um 05.14 schrieb Craig Packard:
> 
> > The packet goes out as expect srcA dstB
> > But the weird part is the response comes back in srcFW dst(A)   Where I would like it would be src(B) dst(A)!!!
> Are you sure, that you do not have any SNAT rule that might be
> responsible?
> Post your PRE- and POSTROUTING chains.
> 

Thanks a TON for any help.  Have been stuck on this for a week!

Here is the chains. (I changed the last number in the internet IP to * to 
slightly hide my location.)  On my box it of course shows my proper 
outside address.



[root@linux1 firewall_rules]# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       udp  --  anywhere             
acs-24-154-175-*.zoominternet.netudp dpt:5198 to:192.168.25.11:5198
DNAT       udp  --  anywhere             
acs-24-154-175-*.zoominternet.netudp dpt:5199 to:192.168.25.11:5199

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination



  reply	other threads:[~2003-03-07 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-04  3:14 UDP DNAT Problem Craig Packard
2003-04-04  8:56 ` Ralf Spenneberg
2003-03-07 15:47   ` Craig Packard [this message]
2003-04-04 16:25     ` Søren Kent Jensen

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=Pine.LNX.4.44.0303071043540.20848-100000@linux1 \
    --to=cpackard@zoominternet.net \
    --cc=lists@spenneberg.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