[meta-freescale] iptables and NAT

Niklas Molin niklas.p.molin at gmail.com
Sun Feb 2 21:32:21 PST 2014


Hi Bob.

I can see that some of the Kconfig files in my git directory includes the
NF_NAT flags.
Should be be enough to manually add these flags in my .config file?
Or is there a reason why these flags doesn't show up in my .config file?
I assume that all flags that I can configure are already in my .config file
(if a config is not set, it will say 'not set' after the config name)?

You said that you can see them in your .config file?
Which processor are you compiling for and which kernel version?

Thanks,
Niklas



On Sun, Feb 2, 2014 at 8:38 AM, Bob Cochran <yocto at mindchasers.com> wrote:

> On 02/01/2014 12:53 PM, Niklas Molin wrote:
>
>> Hi Bob.
>>
>> In my .config I don't have that option (any NF_NAT options).
>> I found EBT NAT (some new feature).
>> I'm compiling for an i.mx6, Distro POKY, version 1.5.1 (kernel 3.10.9)
>>
>> Thanks,
>> Niklas
>>
>
>
> I suppose you're not enabling something in the menuconfig options that you
> need.
>
> But you see these options in your Kconfig files, right? Look through them
> to see what you need to enable.
>
> From your linux source: find . -name Kconfig | xargs grep NF_NAT
>
>
>
>
>
>
>
>>
>> On Sat, Feb 1, 2014 at 9:27 AM, Bob Cochran <yocto at mindchasers.com
>> <mailto:yocto at mindchasers.com>> wrote:
>>
>>     On 01/31/2014 07:23 PM, Niklas Molin wrote:
>>
>>         Hi.
>>
>>         I wonder if NAT is supported by iptables?
>>
>>         I checked the .config to see if there was any flag to enable it,
>> but
>>         couldn't find anything.
>>
>>
>>     I assume you have the following enabled in menuconfig:
>>
>>     Networking Support->Networking Options->Network packet filtering
>>     framework (Netfilter)
>>
>>     Inside the .config file, you should be able to find the prefix
>>     CONFIG_NF_NAT.
>>
>>     In my .config, those options start ~30 lines under the string "Core
>>     Netfilter Configuration"
>>
>>
>>
>>         Thanks,
>>         Niklas
>>
>>
>>         _________________________________________________
>>         meta-freescale mailing list
>>         meta-freescale at yoctoproject.__org
>>         <mailto:meta-freescale at yoctoproject.org>
>>         https://lists.yoctoproject.__org/listinfo/meta-freescale
>>         <https://lists.yoctoproject.org/listinfo/meta-freescale>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140202/7ffb350e/attachment.html>


More information about the meta-freescale mailing list