RE: How to do NAT for an udp reply packet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I need to change the source port for the udp reply packet.



-----Original Message-----
From: Jan Engelhardt [mailto:jengelh@xxxxxxxxxx] 
Sent: August 17, 2011 15:36 PM
To: Calin Onofrei
Cc: netfilter@xxxxxxxxxxxxxxx
Subject: Re: How to do NAT for an udp reply packet?

On Wednesday 2011-08-17 15:48, Calin Onofrei wrote:

>Hi netfilter list,
>I want to do NAT with specific rules for an udp reply packet.

nf_nat works on entire NFCT connections only.
It eludes me why you would want to merely change one reply packet, but 
you would need xt_RAW[S|D]NAT for that.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Netfilter Development]     [Linux Kernel Networking Development]     [Linux Networking Development]     [Linux Kernel Development]     [Linux Resources]     [LARTC]     [Bugtraq]     [Consulting]     [Free Internet Dating]     [Yosemite Forum]     [Photo]

Add to Google Powered by Linux