Re: CONMARK and SNAT

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

 



I can setup CONMARK with the IP address (IPMARK), as an integer
derived from the IPV4 address...So I was hoping to get the reverse :
set the IP source address based on the CONMARK ; with some interger to
IPV4 conversion

On Thu, Oct 28, 2010 at 5:39 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
> On Thursday 2010-10-28 13:34, Jyotiswarup Raiturkar wrote:
>
>>Hello
>>
>>I want to setup a simple generic rule  :
>>
>>If (connection has CONMARK = xx),  than set TARGET as SNAT --to-source xx
>
> xx is an integer, but --to-source requires an IPv4 address instead, so
> you cannot mix them.
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux