iptable_nat

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

iptable_nat

Miroslav Misek
Hi,

I am using voyage-linux on APU.2C2.
Installed snapshot amd64 version.

I am not able configure nat:
root@office:/etc/ferm# iptables -t nat -L
iptables v1.4.21: can't initialize iptables table `nat': Table does not
exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Probably it is needed to add it to kernel:
root@office:/etc/ferm# modprobe iptable_nat
modprobe: FATAL: Module iptable_nat not found.

or is there any other solution to get NAT working please?

Thank you very much,
Miroslav

_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Teco Boot
Try with nf_conntrack_ipv4 in /etc/modules.

Teco


> Op 25 mei 2016, om 18:37 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>
> Hi,
>
> I am using voyage-linux on APU.2C2.
> Installed snapshot amd64 version.
>
> I am not able configure nat:
> root@office:/etc/ferm# iptables -t nat -L
> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> Probably it is needed to add it to kernel:
> root@office:/etc/ferm# modprobe iptable_nat
> modprobe: FATAL: Module iptable_nat not found.
>
> or is there any other solution to get NAT working please?
>
> Thank you very much,
> Miroslav
>
> _______________________________________________
> Voyage-linux mailing list
> [hidden email]
> http://list.voyage.hk/mailman/listinfo/voyage-linux


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Teco Boot
nf_nat and nf_nat_ipv4 is missing.

root@host:~# lsmod | grep nf
nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
nf_conntrack_netlink    19580  0
nfnetlink               3661  1 nf_conntrack_netlink
nf_nat_ipv4             3539  1 iptable_nat
nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
nf_conntrack_ipv4       8810  89
nf_defrag_ipv4           999  1 nf_conntrack_ipv4
nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
root@host:~#

I have my own build kernel (4.1.something). What is yours?

Teco



> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>
> Tried, but without success:
>
> root@office:~# lsmod
> Module                  Size  Used by
> iptable_filter           992  0
> ip_tables              12581  1 iptable_filter
> xt_tcpudp               2064  0
> nf_conntrack_ipv6       5680  0
> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
> xt_conntrack            2480  0
> ip6table_filter          944  0
> ip6_tables             12969  1 ip6table_filter
> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
> nf_conntrack_ipv4       9054  0
> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
> ledtrig_netdev          2816  0
> ledtrig_timer           1248  0
> ledtrig_heartbeat       1288  0
> sp5100_tco              4016  0
> fam15h_power            2144  0
> pcspkr                  1504  0
> k10temp                 2408  0
> i2c_piix4               7376  0
> evdev                   7824  0
> acpi_cpufreq            5232  0
> igb                   113529  0
> i2c_algo_bit            4154  1 igb
> ptp                     8039  1 igb
> mmc_block              21057  2
> crc32c_intel            7360  0
> sdhci_pci               9808  0
> ahci                   23784  0
> sdhci                  20216  1 sdhci_pci
> libahci                17003  1 ahci
> xhci_pci                2832  0
> ehci_pci                3296  0
> xhci_hcd               78733  1 xhci_pci
> ehci_hcd               32229  1 ehci_pci
> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
> libata                137950  2 ahci,libahci
> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
> usb_common              1464  1 usbcore
> pps_core                5105  1 ptp
>
> root@office:~# iptables -t nat -L
> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> Miroslav Misek
>
> On 25.5.2016 19:33, Teco Boot wrote:
>> Try with nf_conntrack_ipv4 in /etc/modules.
>>
>> Teco
>>
>>
>>> Op 25 mei 2016, om 18:37 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>
>>> Hi,
>>>
>>> I am using voyage-linux on APU.2C2.
>>> Installed snapshot amd64 version.
>>>
>>> I am not able configure nat:
>>> root@office:/etc/ferm# iptables -t nat -L
>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>> Perhaps iptables or your kernel needs to be upgraded.
>>>
>>> Probably it is needed to add it to kernel:
>>> root@office:/etc/ferm# modprobe iptable_nat
>>> modprobe: FATAL: Module iptable_nat not found.
>>>
>>> or is there any other solution to get NAT working please?
>>>
>>> Thank you very much,
>>> Miroslav
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> [hidden email]
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
I tried that too - same result:

root@office:~# lsmod
Module                  Size  Used by
ip_tables              12581  0
xt_tcpudp               2064  0
nf_conntrack_ipv6       5680  0
nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
xt_conntrack            2480  0
ip6table_filter          944  0
ip6_tables             12969  1 ip6table_filter
x_tables               12554  5
ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
nf_nat_ipv4             3633  0
nf_nat                  9532  1 nf_nat_ipv4
nf_conntrack_ipv4       9054  1
nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
nf_conntrack           59728  5
nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
ledtrig_netdev          2816  0
ledtrig_timer           1248  0
ledtrig_heartbeat       1288  0
sp5100_tco              4016  0
pcspkr                  1504  0
fam15h_power            2144  0
k10temp                 2408  0
evdev                   7824  0
i2c_piix4               7376  0
acpi_cpufreq            5232  0
igb                   113529  0
i2c_algo_bit            4154  1 igb
ptp                     8039  1 igb
mmc_block              21057  2
crc32c_intel            7360  0
ehci_pci                3296  0
ehci_hcd               32229  1 ehci_pci
ahci                   23784  0
sdhci_pci               9808  0
libahci                17003  1 ahci
sdhci                  20216  1 sdhci_pci
mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
xhci_pci                2832  0
xhci_hcd               78733  1 xhci_pci
libata                137950  2 ahci,libahci
usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
usb_common              1464  1 usbcore
pps_core                5105  1 ptp

root@office:~# iptables -t nat -L
iptables v1.4.21: can't initialize iptables table `nat': Table does not
exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I am using default installed kernel:

root@office:~# uname -r
4.1.6-voyage

Thank you,
Miroslav Misek

On 26.5.2016 19:05, Teco Boot wrote:

> nf_nat and nf_nat_ipv4 is missing.
>
> root@host:~# lsmod | grep nf
> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
> nf_conntrack_netlink    19580  0
> nfnetlink               3661  1 nf_conntrack_netlink
> nf_nat_ipv4             3539  1 iptable_nat
> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
> nf_conntrack_ipv4       8810  89
> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
> root@host:~#
>
> I have my own build kernel (4.1.something). What is yours?
>
> Teco
>
>
>
>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>
>> Tried, but without success:
>>
>> root@office:~# lsmod
>> Module                  Size  Used by
>> iptable_filter           992  0
>> ip_tables              12581  1 iptable_filter
>> xt_tcpudp               2064  0
>> nf_conntrack_ipv6       5680  0
>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>> xt_conntrack            2480  0
>> ip6table_filter          944  0
>> ip6_tables             12969  1 ip6table_filter
>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>> nf_conntrack_ipv4       9054  0
>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>> ledtrig_netdev          2816  0
>> ledtrig_timer           1248  0
>> ledtrig_heartbeat       1288  0
>> sp5100_tco              4016  0
>> fam15h_power            2144  0
>> pcspkr                  1504  0
>> k10temp                 2408  0
>> i2c_piix4               7376  0
>> evdev                   7824  0
>> acpi_cpufreq            5232  0
>> igb                   113529  0
>> i2c_algo_bit            4154  1 igb
>> ptp                     8039  1 igb
>> mmc_block              21057  2
>> crc32c_intel            7360  0
>> sdhci_pci               9808  0
>> ahci                   23784  0
>> sdhci                  20216  1 sdhci_pci
>> libahci                17003  1 ahci
>> xhci_pci                2832  0
>> ehci_pci                3296  0
>> xhci_hcd               78733  1 xhci_pci
>> ehci_hcd               32229  1 ehci_pci
>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>> libata                137950  2 ahci,libahci
>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>> usb_common              1464  1 usbcore
>> pps_core                5105  1 ptp
>>
>> root@office:~# iptables -t nat -L
>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>> Perhaps iptables or your kernel needs to be upgraded.
>>
>> Miroslav Misek
>>
>> On 25.5.2016 19:33, Teco Boot wrote:
>>> Try with nf_conntrack_ipv4 in /etc/modules.
>>>
>>> Teco
>>>
>>>
>>>> Op 25 mei 2016, om 18:37 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>
>>>> Hi,
>>>>
>>>> I am using voyage-linux on APU.2C2.
>>>> Installed snapshot amd64 version.
>>>>
>>>> I am not able configure nat:
>>>> root@office:/etc/ferm# iptables -t nat -L
>>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>
>>>> Probably it is needed to add it to kernel:
>>>> root@office:/etc/ferm# modprobe iptable_nat
>>>> modprobe: FATAL: Module iptable_nat not found.
>>>>
>>>> or is there any other solution to get NAT working please?
>>>>
>>>> Thank you very much,
>>>> Miroslav
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing list
>>>> [hidden email]
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Teco Boot
iptable_nat is missing.

root@host:~# lsmod | grep iptable
iptable_mangle           876  1
iptable_nat             1086  1
nf_nat_ipv4             3539  1 iptable_nat
iptable_filter           812  1
ip_tables               7772  3 iptable_filter,iptable_mangle,iptable_nat
x_tables                8744  16 ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
root@host:~#

Teco


> Op 26 mei 2016, om 20:07 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>
> I tried that too - same result:
>
> root@office:~# lsmod
> Module                  Size  Used by
> ip_tables              12581  0
> xt_tcpudp               2064  0
> nf_conntrack_ipv6       5680  0
> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
> xt_conntrack            2480  0
> ip6table_filter          944  0
> ip6_tables             12969  1 ip6table_filter
> x_tables               12554  5 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
> ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
> nf_nat_ipv4             3633  0
> nf_nat                  9532  1 nf_nat_ipv4
> nf_conntrack_ipv4       9054  1
> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
> nf_conntrack           59728  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
> ledtrig_netdev          2816  0
> ledtrig_timer           1248  0
> ledtrig_heartbeat       1288  0
> sp5100_tco              4016  0
> pcspkr                  1504  0
> fam15h_power            2144  0
> k10temp                 2408  0
> evdev                   7824  0
> i2c_piix4               7376  0
> acpi_cpufreq            5232  0
> igb                   113529  0
> i2c_algo_bit            4154  1 igb
> ptp                     8039  1 igb
> mmc_block              21057  2
> crc32c_intel            7360  0
> ehci_pci                3296  0
> ehci_hcd               32229  1 ehci_pci
> ahci                   23784  0
> sdhci_pci               9808  0
> libahci                17003  1 ahci
> sdhci                  20216  1 sdhci_pci
> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
> xhci_pci                2832  0
> xhci_hcd               78733  1 xhci_pci
> libata                137950  2 ahci,libahci
> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
> usb_common              1464  1 usbcore
> pps_core                5105  1 ptp
>
> root@office:~# iptables -t nat -L
> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> I am using default installed kernel:
>
> root@office:~# uname -r
> 4.1.6-voyage
>
> Thank you,
> Miroslav Misek
>
> On 26.5.2016 19:05, Teco Boot wrote:
>> nf_nat and nf_nat_ipv4 is missing.
>>
>> root@host:~# lsmod | grep nf
>> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
>> nf_conntrack_netlink    19580  0
>> nfnetlink               3661  1 nf_conntrack_netlink
>> nf_nat_ipv4             3539  1 iptable_nat
>> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
>> nf_conntrack_ipv4       8810  89
>> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
>> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
>> root@host:~#
>>
>> I have my own build kernel (4.1.something). What is yours?
>>
>> Teco
>>
>>
>>
>>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>
>>> Tried, but without success:
>>>
>>> root@office:~# lsmod
>>> Module                  Size  Used by
>>> iptable_filter           992  0
>>> ip_tables              12581  1 iptable_filter
>>> xt_tcpudp               2064  0
>>> nf_conntrack_ipv6       5680  0
>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>> xt_conntrack            2480  0
>>> ip6table_filter          944  0
>>> ip6_tables             12969  1 ip6table_filter
>>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>>> nf_conntrack_ipv4       9054  0
>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>> ledtrig_netdev          2816  0
>>> ledtrig_timer           1248  0
>>> ledtrig_heartbeat       1288  0
>>> sp5100_tco              4016  0
>>> fam15h_power            2144  0
>>> pcspkr                  1504  0
>>> k10temp                 2408  0
>>> i2c_piix4               7376  0
>>> evdev                   7824  0
>>> acpi_cpufreq            5232  0
>>> igb                   113529  0
>>> i2c_algo_bit            4154  1 igb
>>> ptp                     8039  1 igb
>>> mmc_block              21057  2
>>> crc32c_intel            7360  0
>>> sdhci_pci               9808  0
>>> ahci                   23784  0
>>> sdhci                  20216  1 sdhci_pci
>>> libahci                17003  1 ahci
>>> xhci_pci                2832  0
>>> ehci_pci                3296  0
>>> xhci_hcd               78733  1 xhci_pci
>>> ehci_hcd               32229  1 ehci_pci
>>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>>> libata                137950  2 ahci,libahci
>>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>>> usb_common              1464  1 usbcore
>>> pps_core                5105  1 ptp
>>>
>>> root@office:~# iptables -t nat -L
>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>> Perhaps iptables or your kernel needs to be upgraded.
>>>
>>> Miroslav Misek
>>>
>>> On 25.5.2016 19:33, Teco Boot wrote:
>>>> Try with nf_conntrack_ipv4 in /etc/modules.
>>>>
>>>> Teco
>>>>
>>>>
>>>>> Op 25 mei 2016, om 18:37 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am using voyage-linux on APU.2C2.
>>>>> Installed snapshot amd64 version.
>>>>>
>>>>> I am not able configure nat:
>>>>> root@office:/etc/ferm# iptables -t nat -L
>>>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>>
>>>>> Probably it is needed to add it to kernel:
>>>>> root@office:/etc/ferm# modprobe iptable_nat
>>>>> modprobe: FATAL: Module iptable_nat not found.
>>>>>
>>>>> or is there any other solution to get NAT working please?
>>>>>
>>>>> Thank you very much,
>>>>> Miroslav
>>>>>
>>>>> _______________________________________________
>>>>> Voyage-linux mailing list
>>>>> [hidden email]
>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
In reply to this post by Miroslav Misek
I think that too. But I don`t have it in /lib/modules.
Where can I find config for current kernel so I can try rebuild it? On web is only config for version 3...

Thank you,
Miroslav MisekDne 27. 5. 2016 8:03 AM Teco Boot <[hidden email]> napsal(a):

>
> iptable_nat is missing.
>
> root@host:~# lsmod | grep iptable
> iptable_mangle           876  1
> iptable_nat             1086  1
> nf_nat_ipv4             3539  1 iptable_nat
> iptable_filter           812  1
> ip_tables               7772  3 iptable_filter,iptable_mangle,iptable_nat
> x_tables                8744  16 ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
> root@host:~#
>
> Teco
>
>
> > Op 26 mei 2016, om 20:07 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
> >
> > I tried that too - same result:
> >
> > root@office:~# lsmod
> > Module                  Size  Used by
> > ip_tables              12581  0
> > xt_tcpudp               2064  0
> > nf_conntrack_ipv6       5680  0
> > nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
> > xt_conntrack            2480  0
> > ip6table_filter          944  0
> > ip6_tables             12969  1 ip6table_filter
> > x_tables               12554  5 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
> > ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
> > nf_nat_ipv4             3633  0
> > nf_nat                  9532  1 nf_nat_ipv4
> > nf_conntrack_ipv4       9054  1
> > nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
> > nf_conntrack           59728  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
> > ledtrig_netdev          2816  0
> > ledtrig_timer           1248  0
> > ledtrig_heartbeat       1288  0
> > sp5100_tco              4016  0
> > pcspkr                  1504  0
> > fam15h_power            2144  0
> > k10temp                 2408  0
> > evdev                   7824  0
> > i2c_piix4               7376  0
> > acpi_cpufreq            5232  0
> > igb                   113529  0
> > i2c_algo_bit            4154  1 igb
> > ptp                     8039  1 igb
> > mmc_block              21057  2
> > crc32c_intel            7360  0
> > ehci_pci                3296  0
> > ehci_hcd               32229  1 ehci_pci
> > ahci                   23784  0
> > sdhci_pci               9808  0
> > libahci                17003  1 ahci
> > sdhci                  20216  1 sdhci_pci
> > mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
> > xhci_pci                2832  0
> > xhci_hcd               78733  1 xhci_pci
> > libata                137950  2 ahci,libahci
> > usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
> > usb_common              1464  1 usbcore
> > pps_core                5105  1 ptp
> >
> > root@office:~# iptables -t nat -L
> > iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
> > Perhaps iptables or your kernel needs to be upgraded.
> >
> > I am using default installed kernel:
> >
> > root@office:~# uname -r
> > 4.1.6-voyage
> >
> > Thank you,
> > Miroslav Misek
> >
> > On 26.5.2016 19:05, Teco Boot wrote:
> >> nf_nat and nf_nat_ipv4 is missing.
> >>
> >> root@host:~# lsmod | grep nf
> >> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
> >> nf_conntrack_netlink    19580  0
> >> nfnetlink               3661  1 nf_conntrack_netlink
> >> nf_nat_ipv4             3539  1 iptable_nat
> >> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
> >> nf_conntrack_ipv4       8810  89
> >> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
> >> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
> >> root@host:~#
> >>
> >> I have my own build kernel (4.1.something). What is yours?
> >>
> >> Teco
> >>
> >>
> >>
> >>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
> >>>
> >>> Tried, but without success:
> >>>
> >>> root@office:~# lsmod
> >>> Module                  Size  Used by
> >>> iptable_filter           992  0
> >>> ip_tables              12581  1 iptable_filter
> >>> xt_tcpudp               2064  0
> >>> nf_conntrack_ipv6       5680  0
> >>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
> >>> xt_conntrack            2480  0
> >>> ip6table_filter          944  0
> >>> ip6_tables             12969  1 ip6table_filter
> >>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
> >>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
> >>> nf_conntrack_ipv4       9054  0
> >>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
> >>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
> >>> ledtrig_netdev          2816  0
> >>> ledtrig_timer           1248  0
> >>> ledtrig_heartbeat       1288  0
> >>> sp5100_tco              4016  0
> >>> fam15h_power            2144  0
> >>> pcspkr                  1504  0
> >>> k10temp                 2408  0
> >>> i2c_piix4               7376  0
> >>> evdev                   7824  0
> >>> acpi_cpufreq            5232  0
> >>> igb                   113529  0
> >>> i2c_algo_bit            4154  1 igb
> >>> ptp                     8039  1
_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Teco Boot
The kernel config is in /boot/ folder, right?

root@host:/boot# grep NAT config-4.1.23-486
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
# CONFIG_HIBERNATION is not set
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
CONFIG_NF_NAT_PROTO_UDPLITE=m
CONFIG_NF_NAT_PROTO_SCTP=m
CONFIG_NF_NAT_AMANDA=m
CONFIG_NF_NAT_FTP=m
CONFIG_NF_NAT_IRC=m
CONFIG_NF_NAT_SIP=m
CONFIG_NF_NAT_TFTP=m
CONFIG_NF_NAT_REDIRECT=m
CONFIG_NFT_NAT=m
CONFIG_NETFILTER_XT_NAT=m
CONFIG_NF_NAT_IPV4=m
CONFIG_NFT_CHAIN_NAT_IPV4=m
CONFIG_NF_NAT_MASQUERADE_IPV4=m
CONFIG_NF_NAT_SNMP_BASIC=m
CONFIG_NF_NAT_PROTO_GRE=m
CONFIG_NF_NAT_PPTP=m
CONFIG_NF_NAT_H323=m
CONFIG_IP_NF_NAT=m
CONFIG_NF_NAT_IPV6=m
# CONFIG_NFT_CHAIN_NAT_IPV6 is not set
# CONFIG_NF_NAT_MASQUERADE_IPV6 is not set
# CONFIG_IP6_NF_NAT is not set
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_NET_ACT_NAT=m
CONFIG_NET_VENDOR_NATSEMI=y
CONFIG_NATSEMI=m
CONFIG_NATIONAL_PHY=m
CONFIG_CHECK_SIGNATURE=y
root@host:/boot#

Build environment is in sdk. Current is not updated, latest is 0.10.
http://mirror.voyage.hk/download/ISO/sdk/voyage-sdk-0.10.0.iso

I did't try cross-compile. I use only i386.

Teco



> Op 27 mei 2016, om 08:38 heeft Miroslav Míšek <[hidden email]> het volgende geschreven:
>
> I think that too. But I don`t have it in /lib/modules.
> Where can I find config for current kernel so I can try rebuild it? On web is only config for version 3...
>
> Thank you,
> Miroslav MisekDne 27. 5. 2016 8:03 AM Teco Boot <[hidden email]> napsal(a):
>>
>> iptable_nat is missing.
>>
>> root@host:~# lsmod | grep iptable
>> iptable_mangle           876  1
>> iptable_nat             1086  1
>> nf_nat_ipv4             3539  1 iptable_nat
>> iptable_filter           812  1
>> ip_tables               7772  3 iptable_filter,iptable_mangle,iptable_nat
>> x_tables                8744  16 ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
>> root@host:~#
>>
>> Teco
>>
>>
>>> Op 26 mei 2016, om 20:07 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>
>>> I tried that too - same result:
>>>
>>> root@office:~# lsmod
>>> Module                  Size  Used by
>>> ip_tables              12581  0
>>> xt_tcpudp               2064  0
>>> nf_conntrack_ipv6       5680  0
>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>> xt_conntrack            2480  0
>>> ip6table_filter          944  0
>>> ip6_tables             12969  1 ip6table_filter
>>> x_tables               12554  5 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
>>> ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
>>> nf_nat_ipv4             3633  0
>>> nf_nat                  9532  1 nf_nat_ipv4
>>> nf_conntrack_ipv4       9054  1
>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>> nf_conntrack           59728  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>> ledtrig_netdev          2816  0
>>> ledtrig_timer           1248  0
>>> ledtrig_heartbeat       1288  0
>>> sp5100_tco              4016  0
>>> pcspkr                  1504  0
>>> fam15h_power            2144  0
>>> k10temp                 2408  0
>>> evdev                   7824  0
>>> i2c_piix4               7376  0
>>> acpi_cpufreq            5232  0
>>> igb                   113529  0
>>> i2c_algo_bit            4154  1 igb
>>> ptp                     8039  1 igb
>>> mmc_block              21057  2
>>> crc32c_intel            7360  0
>>> ehci_pci                3296  0
>>> ehci_hcd               32229  1 ehci_pci
>>> ahci                   23784  0
>>> sdhci_pci               9808  0
>>> libahci                17003  1 ahci
>>> sdhci                  20216  1 sdhci_pci
>>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>>> xhci_pci                2832  0
>>> xhci_hcd               78733  1 xhci_pci
>>> libata                137950  2 ahci,libahci
>>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>>> usb_common              1464  1 usbcore
>>> pps_core                5105  1 ptp
>>>
>>> root@office:~# iptables -t nat -L
>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>> Perhaps iptables or your kernel needs to be upgraded.
>>>
>>> I am using default installed kernel:
>>>
>>> root@office:~# uname -r
>>> 4.1.6-voyage
>>>
>>> Thank you,
>>> Miroslav Misek
>>>
>>> On 26.5.2016 19:05, Teco Boot wrote:
>>>> nf_nat and nf_nat_ipv4 is missing.
>>>>
>>>> root@host:~# lsmod | grep nf
>>>> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
>>>> nf_conntrack_netlink    19580  0
>>>> nfnetlink               3661  1 nf_conntrack_netlink
>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
>>>> nf_conntrack_ipv4       8810  89
>>>> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
>>>> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
>>>> root@host:~#
>>>>
>>>> I have my own build kernel (4.1.something). What is yours?
>>>>
>>>> Teco
>>>>
>>>>
>>>>
>>>>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>
>>>>> Tried, but without success:
>>>>>
>>>>> root@office:~# lsmod
>>>>> Module                  Size  Used by
>>>>> iptable_filter           992  0
>>>>> ip_tables              12581  1 iptable_filter
>>>>> xt_tcpudp               2064  0
>>>>> nf_conntrack_ipv6       5680  0
>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>> xt_conntrack            2480  0
>>>>> ip6table_filter          944  0
>>>>> ip6_tables             12969  1 ip6table_filter
>>>>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>>>>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>> nf_conntrack_ipv4       9054  0
>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>> ledtrig_netdev          2816  0
>>>>> ledtrig_timer           1248  0
>>>>> ledtrig_heartbeat       1288  0
>>>>> sp5100_tco              4016  0
>>>>> fam15h_power            2144  0
>>>>> pcspkr                  1504  0
>>>>> k10temp                 2408  0
>>>>> i2c_piix4               7376  0
>>>>> evdev                   7824  0
>>>>> acpi_cpufreq            5232  0
>>>>> igb                   113529  0
>>>>> i2c_algo_bit            4154  1 igb
>>>>> ptp                     8039  1


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
So I checked kernel config and there are few items missing:

CONFIG_NETFILTER_XT_NAT
CONFIG_NF_NAT_MASQUERADE_IPV4
CONFIG_IP_NF_NAT
CONFIG_IP_NF_TARGET_MASQUERADE

Is there any chance for this to be added to current voyage-linux kernel?
I think this should be included. Or can I somehow help with it?

Thank you,
Miroslav Misek

On 27.5.2016 12:33, Teco Boot wrote:

> The kernel config is in /boot/ folder, right?
>
> root@host:/boot# grep NAT config-4.1.23-486
> CONFIG_ARCH_HIBERNATION_POSSIBLE=y
> # CONFIG_HIBERNATION is not set
> CONFIG_NF_NAT=m
> CONFIG_NF_NAT_NEEDED=y
> CONFIG_NF_NAT_PROTO_UDPLITE=m
> CONFIG_NF_NAT_PROTO_SCTP=m
> CONFIG_NF_NAT_AMANDA=m
> CONFIG_NF_NAT_FTP=m
> CONFIG_NF_NAT_IRC=m
> CONFIG_NF_NAT_SIP=m
> CONFIG_NF_NAT_TFTP=m
> CONFIG_NF_NAT_REDIRECT=m
> CONFIG_NFT_NAT=m
> CONFIG_NETFILTER_XT_NAT=m
> CONFIG_NF_NAT_IPV4=m
> CONFIG_NFT_CHAIN_NAT_IPV4=m
> CONFIG_NF_NAT_MASQUERADE_IPV4=m
> CONFIG_NF_NAT_SNMP_BASIC=m
> CONFIG_NF_NAT_PROTO_GRE=m
> CONFIG_NF_NAT_PPTP=m
> CONFIG_NF_NAT_H323=m
> CONFIG_IP_NF_NAT=m
> CONFIG_NF_NAT_IPV6=m
> # CONFIG_NFT_CHAIN_NAT_IPV6 is not set
> # CONFIG_NF_NAT_MASQUERADE_IPV6 is not set
> # CONFIG_IP6_NF_NAT is not set
> CONFIG_BRIDGE_EBT_T_NAT=m
> CONFIG_BRIDGE_EBT_DNAT=m
> CONFIG_BRIDGE_EBT_SNAT=m
> CONFIG_NET_ACT_NAT=m
> CONFIG_NET_VENDOR_NATSEMI=y
> CONFIG_NATSEMI=m
> CONFIG_NATIONAL_PHY=m
> CONFIG_CHECK_SIGNATURE=y
> root@host:/boot#
>
> Build environment is in sdk. Current is not updated, latest is 0.10.
> http://mirror.voyage.hk/download/ISO/sdk/voyage-sdk-0.10.0.iso
>
> I did't try cross-compile. I use only i386.
>
> Teco
>
>
>
>> Op 27 mei 2016, om 08:38 heeft Miroslav Míšek <[hidden email]> het volgende geschreven:
>>
>> I think that too. But I don`t have it in /lib/modules.
>> Where can I find config for current kernel so I can try rebuild it? On web is only config for version 3...
>>
>> Thank you,
>> Miroslav MisekDne 27. 5. 2016 8:03 AM Teco Boot <[hidden email]> napsal(a):
>>> iptable_nat is missing.
>>>
>>> root@host:~# lsmod | grep iptable
>>> iptable_mangle           876  1
>>> iptable_nat             1086  1
>>> nf_nat_ipv4             3539  1 iptable_nat
>>> iptable_filter           812  1
>>> ip_tables               7772  3 iptable_filter,iptable_mangle,iptable_nat
>>> x_tables                8744  16 ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
>>> root@host:~#
>>>
>>> Teco
>>>
>>>
>>>> Op 26 mei 2016, om 20:07 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>
>>>> I tried that too - same result:
>>>>
>>>> root@office:~# lsmod
>>>> Module                  Size  Used by
>>>> ip_tables              12581  0
>>>> xt_tcpudp               2064  0
>>>> nf_conntrack_ipv6       5680  0
>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>> xt_conntrack            2480  0
>>>> ip6table_filter          944  0
>>>> ip6_tables             12969  1 ip6table_filter
>>>> x_tables               12554  5 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
>>>> ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
>>>> nf_nat_ipv4             3633  0
>>>> nf_nat                  9532  1 nf_nat_ipv4
>>>> nf_conntrack_ipv4       9054  1
>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>> nf_conntrack           59728  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>> ledtrig_netdev          2816  0
>>>> ledtrig_timer           1248  0
>>>> ledtrig_heartbeat       1288  0
>>>> sp5100_tco              4016  0
>>>> pcspkr                  1504  0
>>>> fam15h_power            2144  0
>>>> k10temp                 2408  0
>>>> evdev                   7824  0
>>>> i2c_piix4               7376  0
>>>> acpi_cpufreq            5232  0
>>>> igb                   113529  0
>>>> i2c_algo_bit            4154  1 igb
>>>> ptp                     8039  1 igb
>>>> mmc_block              21057  2
>>>> crc32c_intel            7360  0
>>>> ehci_pci                3296  0
>>>> ehci_hcd               32229  1 ehci_pci
>>>> ahci                   23784  0
>>>> sdhci_pci               9808  0
>>>> libahci                17003  1 ahci
>>>> sdhci                  20216  1 sdhci_pci
>>>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>>>> xhci_pci                2832  0
>>>> xhci_hcd               78733  1 xhci_pci
>>>> libata                137950  2 ahci,libahci
>>>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>>>> usb_common              1464  1 usbcore
>>>> pps_core                5105  1 ptp
>>>>
>>>> root@office:~# iptables -t nat -L
>>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>
>>>> I am using default installed kernel:
>>>>
>>>> root@office:~# uname -r
>>>> 4.1.6-voyage
>>>>
>>>> Thank you,
>>>> Miroslav Misek
>>>>
>>>> On 26.5.2016 19:05, Teco Boot wrote:
>>>>> nf_nat and nf_nat_ipv4 is missing.
>>>>>
>>>>> root@host:~# lsmod | grep nf
>>>>> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
>>>>> nf_conntrack_netlink    19580  0
>>>>> nfnetlink               3661  1 nf_conntrack_netlink
>>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>>> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
>>>>> nf_conntrack_ipv4       8810  89
>>>>> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
>>>>> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
>>>>> root@host:~#
>>>>>
>>>>> I have my own build kernel (4.1.something). What is yours?
>>>>>
>>>>> Teco
>>>>>
>>>>>
>>>>>
>>>>>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>>
>>>>>> Tried, but without success:
>>>>>>
>>>>>> root@office:~# lsmod
>>>>>> Module                  Size  Used by
>>>>>> iptable_filter           992  0
>>>>>> ip_tables              12581  1 iptable_filter
>>>>>> xt_tcpudp               2064  0
>>>>>> nf_conntrack_ipv6       5680  0
>>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>>> xt_conntrack            2480  0
>>>>>> ip6table_filter          944  0
>>>>>> ip6_tables             12969  1 ip6table_filter
>>>>>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>>>>>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>>> nf_conntrack_ipv4       9054  0
>>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>>> ledtrig_netdev          2816  0
>>>>>> ledtrig_timer           1248  0
>>>>>> ledtrig_heartbeat       1288  0
>>>>>> sp5100_tco              4016  0
>>>>>> fam15h_power            2144  0
>>>>>> pcspkr                  1504  0
>>>>>> k10temp                 2408  0
>>>>>> i2c_piix4               7376  0
>>>>>> evdev                   7824  0
>>>>>> acpi_cpufreq            5232  0
>>>>>> igb                   113529  0
>>>>>> i2c_algo_bit            4154  1 igb
>>>>>> ptp                     8039  1


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Teco Boot
I agree on that the Voyage kernel should support IPv4 NAT.
@Punky?

Options: using debian kernel or build one yourself.

Teco


> Op 27 mei 2016, om 22:11 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>
> So I checked kernel config and there are few items missing:
>
> CONFIG_NETFILTER_XT_NAT
> CONFIG_NF_NAT_MASQUERADE_IPV4
> CONFIG_IP_NF_NAT
> CONFIG_IP_NF_TARGET_MASQUERADE
>
> Is there any chance for this to be added to current voyage-linux kernel?
> I think this should be included. Or can I somehow help with it?
>
> Thank you,
> Miroslav Misek
>
> On 27.5.2016 12:33, Teco Boot wrote:
>> The kernel config is in /boot/ folder, right?
>>
>> root@host:/boot# grep NAT config-4.1.23-486
>> CONFIG_ARCH_HIBERNATION_POSSIBLE=y
>> # CONFIG_HIBERNATION is not set
>> CONFIG_NF_NAT=m
>> CONFIG_NF_NAT_NEEDED=y
>> CONFIG_NF_NAT_PROTO_UDPLITE=m
>> CONFIG_NF_NAT_PROTO_SCTP=m
>> CONFIG_NF_NAT_AMANDA=m
>> CONFIG_NF_NAT_FTP=m
>> CONFIG_NF_NAT_IRC=m
>> CONFIG_NF_NAT_SIP=m
>> CONFIG_NF_NAT_TFTP=m
>> CONFIG_NF_NAT_REDIRECT=m
>> CONFIG_NFT_NAT=m
>> CONFIG_NETFILTER_XT_NAT=m
>> CONFIG_NF_NAT_IPV4=m
>> CONFIG_NFT_CHAIN_NAT_IPV4=m
>> CONFIG_NF_NAT_MASQUERADE_IPV4=m
>> CONFIG_NF_NAT_SNMP_BASIC=m
>> CONFIG_NF_NAT_PROTO_GRE=m
>> CONFIG_NF_NAT_PPTP=m
>> CONFIG_NF_NAT_H323=m
>> CONFIG_IP_NF_NAT=m
>> CONFIG_NF_NAT_IPV6=m
>> # CONFIG_NFT_CHAIN_NAT_IPV6 is not set
>> # CONFIG_NF_NAT_MASQUERADE_IPV6 is not set
>> # CONFIG_IP6_NF_NAT is not set
>> CONFIG_BRIDGE_EBT_T_NAT=m
>> CONFIG_BRIDGE_EBT_DNAT=m
>> CONFIG_BRIDGE_EBT_SNAT=m
>> CONFIG_NET_ACT_NAT=m
>> CONFIG_NET_VENDOR_NATSEMI=y
>> CONFIG_NATSEMI=m
>> CONFIG_NATIONAL_PHY=m
>> CONFIG_CHECK_SIGNATURE=y
>> root@host:/boot#
>>
>> Build environment is in sdk. Current is not updated, latest is 0.10.
>> http://mirror.voyage.hk/download/ISO/sdk/voyage-sdk-0.10.0.iso
>>
>> I did't try cross-compile. I use only i386.
>>
>> Teco
>>
>>
>>
>>> Op 27 mei 2016, om 08:38 heeft Miroslav Míšek <[hidden email]> het volgende geschreven:
>>>
>>> I think that too. But I don`t have it in /lib/modules.
>>> Where can I find config for current kernel so I can try rebuild it? On web is only config for version 3...
>>>
>>> Thank you,
>>> Miroslav MisekDne 27. 5. 2016 8:03 AM Teco Boot <[hidden email]> napsal(a):
>>>> iptable_nat is missing.
>>>>
>>>> root@host:~# lsmod | grep iptable
>>>> iptable_mangle           876  1
>>>> iptable_nat             1086  1
>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>> iptable_filter           812  1
>>>> ip_tables               7772  3 iptable_filter,iptable_mangle,iptable_nat
>>>> x_tables                8744  16 ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
>>>> root@host:~#
>>>>
>>>> Teco
>>>>
>>>>
>>>>> Op 26 mei 2016, om 20:07 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>
>>>>> I tried that too - same result:
>>>>>
>>>>> root@office:~# lsmod
>>>>> Module                  Size  Used by
>>>>> ip_tables              12581  0
>>>>> xt_tcpudp               2064  0
>>>>> nf_conntrack_ipv6       5680  0
>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>> xt_conntrack            2480  0
>>>>> ip6table_filter          944  0
>>>>> ip6_tables             12969  1 ip6table_filter
>>>>> x_tables               12554  5 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
>>>>> ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>> nf_nat_ipv4             3633  0
>>>>> nf_nat                  9532  1 nf_nat_ipv4
>>>>> nf_conntrack_ipv4       9054  1
>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>> nf_conntrack           59728  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>> ledtrig_netdev          2816  0
>>>>> ledtrig_timer           1248  0
>>>>> ledtrig_heartbeat       1288  0
>>>>> sp5100_tco              4016  0
>>>>> pcspkr                  1504  0
>>>>> fam15h_power            2144  0
>>>>> k10temp                 2408  0
>>>>> evdev                   7824  0
>>>>> i2c_piix4               7376  0
>>>>> acpi_cpufreq            5232  0
>>>>> igb                   113529  0
>>>>> i2c_algo_bit            4154  1 igb
>>>>> ptp                     8039  1 igb
>>>>> mmc_block              21057  2
>>>>> crc32c_intel            7360  0
>>>>> ehci_pci                3296  0
>>>>> ehci_hcd               32229  1 ehci_pci
>>>>> ahci                   23784  0
>>>>> sdhci_pci               9808  0
>>>>> libahci                17003  1 ahci
>>>>> sdhci                  20216  1 sdhci_pci
>>>>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>>>>> xhci_pci                2832  0
>>>>> xhci_hcd               78733  1 xhci_pci
>>>>> libata                137950  2 ahci,libahci
>>>>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>>>>> usb_common              1464  1 usbcore
>>>>> pps_core                5105  1 ptp
>>>>>
>>>>> root@office:~# iptables -t nat -L
>>>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>>
>>>>> I am using default installed kernel:
>>>>>
>>>>> root@office:~# uname -r
>>>>> 4.1.6-voyage
>>>>>
>>>>> Thank you,
>>>>> Miroslav Misek
>>>>>
>>>>> On 26.5.2016 19:05, Teco Boot wrote:
>>>>>> nf_nat and nf_nat_ipv4 is missing.
>>>>>>
>>>>>> root@host:~# lsmod | grep nf
>>>>>> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
>>>>>> nf_conntrack_netlink    19580  0
>>>>>> nfnetlink               3661  1 nf_conntrack_netlink
>>>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>>>> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
>>>>>> nf_conntrack_ipv4       8810  89
>>>>>> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
>>>>>> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
>>>>>> root@host:~#
>>>>>>
>>>>>> I have my own build kernel (4.1.something). What is yours?
>>>>>>
>>>>>> Teco
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>>>
>>>>>>> Tried, but without success:
>>>>>>>
>>>>>>> root@office:~# lsmod
>>>>>>> Module                  Size  Used by
>>>>>>> iptable_filter           992  0
>>>>>>> ip_tables              12581  1 iptable_filter
>>>>>>> xt_tcpudp               2064  0
>>>>>>> nf_conntrack_ipv6       5680  0
>>>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>>>> xt_conntrack            2480  0
>>>>>>> ip6table_filter          944  0
>>>>>>> ip6_tables             12969  1 ip6table_filter
>>>>>>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>>>>>>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>>>> nf_conntrack_ipv4       9054  0
>>>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>>>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>>>> ledtrig_netdev          2816  0
>>>>>>> ledtrig_timer           1248  0
>>>>>>> ledtrig_heartbeat       1288  0
>>>>>>> sp5100_tco              4016  0
>>>>>>> fam15h_power            2144  0
>>>>>>> pcspkr                  1504  0
>>>>>>> k10temp                 2408  0
>>>>>>> i2c_piix4               7376  0
>>>>>>> evdev                   7824  0
>>>>>>> acpi_cpufreq            5232  0
>>>>>>> igb                   113529  0
>>>>>>> i2c_algo_bit            4154  1 igb
>>>>>>> ptp                     8039  1
>

_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux

signature.asc (859 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Kim-man 'Punky' TSE-2
Hi all,

Please install the latest kernel from, and let me know if this works for you.

http://mirror.voyage.hk/dists/experimental/linux/linux-image-4.1.6-voyage_17.1-1_i386.deb

Regards,
Punky


On 5/28/2016 5:28 AM, Teco Boot wrote:

> I agree on that the Voyage kernel should support IPv4 NAT.
> @Punky?
>
> Options: using debian kernel or build one yourself.
>
> Teco
>
>
>> Op 27 mei 2016, om 22:11 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>
>> So I checked kernel config and there are few items missing:
>>
>> CONFIG_NETFILTER_XT_NAT
>> CONFIG_NF_NAT_MASQUERADE_IPV4
>> CONFIG_IP_NF_NAT
>> CONFIG_IP_NF_TARGET_MASQUERADE
>>
>> Is there any chance for this to be added to current voyage-linux kernel?
>> I think this should be included. Or can I somehow help with it?
>>
>> Thank you,
>> Miroslav Misek
>>
>> On 27.5.2016 12:33, Teco Boot wrote:
>>> The kernel config is in /boot/ folder, right?
>>>
>>> root@host:/boot# grep NAT config-4.1.23-486
>>> CONFIG_ARCH_HIBERNATION_POSSIBLE=y
>>> # CONFIG_HIBERNATION is not set
>>> CONFIG_NF_NAT=m
>>> CONFIG_NF_NAT_NEEDED=y
>>> CONFIG_NF_NAT_PROTO_UDPLITE=m
>>> CONFIG_NF_NAT_PROTO_SCTP=m
>>> CONFIG_NF_NAT_AMANDA=m
>>> CONFIG_NF_NAT_FTP=m
>>> CONFIG_NF_NAT_IRC=m
>>> CONFIG_NF_NAT_SIP=m
>>> CONFIG_NF_NAT_TFTP=m
>>> CONFIG_NF_NAT_REDIRECT=m
>>> CONFIG_NFT_NAT=m
>>> CONFIG_NETFILTER_XT_NAT=m
>>> CONFIG_NF_NAT_IPV4=m
>>> CONFIG_NFT_CHAIN_NAT_IPV4=m
>>> CONFIG_NF_NAT_MASQUERADE_IPV4=m
>>> CONFIG_NF_NAT_SNMP_BASIC=m
>>> CONFIG_NF_NAT_PROTO_GRE=m
>>> CONFIG_NF_NAT_PPTP=m
>>> CONFIG_NF_NAT_H323=m
>>> CONFIG_IP_NF_NAT=m
>>> CONFIG_NF_NAT_IPV6=m
>>> # CONFIG_NFT_CHAIN_NAT_IPV6 is not set
>>> # CONFIG_NF_NAT_MASQUERADE_IPV6 is not set
>>> # CONFIG_IP6_NF_NAT is not set
>>> CONFIG_BRIDGE_EBT_T_NAT=m
>>> CONFIG_BRIDGE_EBT_DNAT=m
>>> CONFIG_BRIDGE_EBT_SNAT=m
>>> CONFIG_NET_ACT_NAT=m
>>> CONFIG_NET_VENDOR_NATSEMI=y
>>> CONFIG_NATSEMI=m
>>> CONFIG_NATIONAL_PHY=m
>>> CONFIG_CHECK_SIGNATURE=y
>>> root@host:/boot#
>>>
>>> Build environment is in sdk. Current is not updated, latest is 0.10.
>>> http://mirror.voyage.hk/download/ISO/sdk/voyage-sdk-0.10.0.iso
>>>
>>> I did't try cross-compile. I use only i386.
>>>
>>> Teco
>>>
>>>
>>>
>>>> Op 27 mei 2016, om 08:38 heeft Miroslav Míšek <[hidden email]> het volgende geschreven:
>>>>
>>>> I think that too. But I don`t have it in /lib/modules.
>>>> Where can I find config for current kernel so I can try rebuild it? On web is only config for version 3...
>>>>
>>>> Thank you,
>>>> Miroslav MisekDne 27. 5. 2016 8:03 AM Teco Boot <[hidden email]> napsal(a):
>>>>> iptable_nat is missing.
>>>>>
>>>>> root@host:~# lsmod | grep iptable
>>>>> iptable_mangle           876  1
>>>>> iptable_nat             1086  1
>>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>>> iptable_filter           812  1
>>>>> ip_tables               7772  3 iptable_filter,iptable_mangle,iptable_nat
>>>>> x_tables                8744  16 ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
>>>>> root@host:~#
>>>>>
>>>>> Teco
>>>>>
>>>>>
>>>>>> Op 26 mei 2016, om 20:07 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>>
>>>>>> I tried that too - same result:
>>>>>>
>>>>>> root@office:~# lsmod
>>>>>> Module                  Size  Used by
>>>>>> ip_tables              12581  0
>>>>>> xt_tcpudp               2064  0
>>>>>> nf_conntrack_ipv6       5680  0
>>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>>> xt_conntrack            2480  0
>>>>>> ip6table_filter          944  0
>>>>>> ip6_tables             12969  1 ip6table_filter
>>>>>> x_tables               12554  5 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
>>>>>> ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>>> nf_nat_ipv4             3633  0
>>>>>> nf_nat                  9532  1 nf_nat_ipv4
>>>>>> nf_conntrack_ipv4       9054  1
>>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>>> nf_conntrack           59728  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>>> ledtrig_netdev          2816  0
>>>>>> ledtrig_timer           1248  0
>>>>>> ledtrig_heartbeat       1288  0
>>>>>> sp5100_tco              4016  0
>>>>>> pcspkr                  1504  0
>>>>>> fam15h_power            2144  0
>>>>>> k10temp                 2408  0
>>>>>> evdev                   7824  0
>>>>>> i2c_piix4               7376  0
>>>>>> acpi_cpufreq            5232  0
>>>>>> igb                   113529  0
>>>>>> i2c_algo_bit            4154  1 igb
>>>>>> ptp                     8039  1 igb
>>>>>> mmc_block              21057  2
>>>>>> crc32c_intel            7360  0
>>>>>> ehci_pci                3296  0
>>>>>> ehci_hcd               32229  1 ehci_pci
>>>>>> ahci                   23784  0
>>>>>> sdhci_pci               9808  0
>>>>>> libahci                17003  1 ahci
>>>>>> sdhci                  20216  1 sdhci_pci
>>>>>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>>>>>> xhci_pci                2832  0
>>>>>> xhci_hcd               78733  1 xhci_pci
>>>>>> libata                137950  2 ahci,libahci
>>>>>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>>>>>> usb_common              1464  1 usbcore
>>>>>> pps_core                5105  1 ptp
>>>>>>
>>>>>> root@office:~# iptables -t nat -L
>>>>>> iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
>>>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>>>
>>>>>> I am using default installed kernel:
>>>>>>
>>>>>> root@office:~# uname -r
>>>>>> 4.1.6-voyage
>>>>>>
>>>>>> Thank you,
>>>>>> Miroslav Misek
>>>>>>
>>>>>> On 26.5.2016 19:05, Teco Boot wrote:
>>>>>>> nf_nat and nf_nat_ipv4 is missing.
>>>>>>>
>>>>>>> root@host:~# lsmod | grep nf
>>>>>>> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
>>>>>>> nf_conntrack_netlink    19580  0
>>>>>>> nfnetlink               3661  1 nf_conntrack_netlink
>>>>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>>>>> nf_nat                  8532  3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
>>>>>>> nf_conntrack_ipv4       8810  89
>>>>>>> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
>>>>>>> nf_conntrack           52481  7 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
>>>>>>> root@host:~#
>>>>>>>
>>>>>>> I have my own build kernel (4.1.something). What is yours?
>>>>>>>
>>>>>>> Teco
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek <[hidden email]> het volgende geschreven:
>>>>>>>>
>>>>>>>> Tried, but without success:
>>>>>>>>
>>>>>>>> root@office:~# lsmod
>>>>>>>> Module                  Size  Used by
>>>>>>>> iptable_filter           992  0
>>>>>>>> ip_tables              12581  1 iptable_filter
>>>>>>>> xt_tcpudp               2064  0
>>>>>>>> nf_conntrack_ipv6       5680  0
>>>>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>>>>> xt_conntrack            2480  0
>>>>>>>> ip6table_filter          944  0
>>>>>>>> ip6_tables             12969  1 ip6table_filter
>>>>>>>> x_tables               12554  6 ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>>>>>>>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>>>>> nf_conntrack_ipv4       9054  0
>>>>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>>>>> nf_conntrack           59728  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>>>>> ledtrig_netdev          2816  0
>>>>>>>> ledtrig_timer           1248  0
>>>>>>>> ledtrig_heartbeat       1288  0
>>>>>>>> sp5100_tco              4016  0
>>>>>>>> fam15h_power            2144  0
>>>>>>>> pcspkr                  1504  0
>>>>>>>> k10temp                 2408  0
>>>>>>>> i2c_piix4               7376  0
>>>>>>>> evdev                   7824  0
>>>>>>>> acpi_cpufreq            5232  0
>>>>>>>> igb                   113529  0
>>>>>>>> i2c_algo_bit            4154  1 igb
>>>>>>>> ptp                     8039  1


--
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
   - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
Hi,

I have amd64 architecture. Would it be possible to create package for it
please?

Thank you,
Miroslav Misek

On 30.5.2016 03:38, Kim-man 'Punky' TSE wrote:

> Hi all,
>
> Please install the latest kernel from, and let me know if this works
> for you.
>
> http://mirror.voyage.hk/dists/experimental/linux/linux-image-4.1.6-voyage_17.1-1_i386.deb 
>
>
> Regards,
> Punky
>
>
> On 5/28/2016 5:28 AM, Teco Boot wrote:
>> I agree on that the Voyage kernel should support IPv4 NAT.
>> @Punky?
>>
>> Options: using debian kernel or build one yourself.
>>
>> Teco
>>
>>
>>> Op 27 mei 2016, om 22:11 heeft Miroslav Misek
>>> <[hidden email]> het volgende geschreven:
>>>
>>> So I checked kernel config and there are few items missing:
>>>
>>> CONFIG_NETFILTER_XT_NAT
>>> CONFIG_NF_NAT_MASQUERADE_IPV4
>>> CONFIG_IP_NF_NAT
>>> CONFIG_IP_NF_TARGET_MASQUERADE
>>>
>>> Is there any chance for this to be added to current voyage-linux
>>> kernel?
>>> I think this should be included. Or can I somehow help with it?
>>>
>>> Thank you,
>>> Miroslav Misek
>>>
>>> On 27.5.2016 12:33, Teco Boot wrote:
>>>> The kernel config is in /boot/ folder, right?
>>>>
>>>> root@host:/boot# grep NAT config-4.1.23-486
>>>> CONFIG_ARCH_HIBERNATION_POSSIBLE=y
>>>> # CONFIG_HIBERNATION is not set
>>>> CONFIG_NF_NAT=m
>>>> CONFIG_NF_NAT_NEEDED=y
>>>> CONFIG_NF_NAT_PROTO_UDPLITE=m
>>>> CONFIG_NF_NAT_PROTO_SCTP=m
>>>> CONFIG_NF_NAT_AMANDA=m
>>>> CONFIG_NF_NAT_FTP=m
>>>> CONFIG_NF_NAT_IRC=m
>>>> CONFIG_NF_NAT_SIP=m
>>>> CONFIG_NF_NAT_TFTP=m
>>>> CONFIG_NF_NAT_REDIRECT=m
>>>> CONFIG_NFT_NAT=m
>>>> CONFIG_NETFILTER_XT_NAT=m
>>>> CONFIG_NF_NAT_IPV4=m
>>>> CONFIG_NFT_CHAIN_NAT_IPV4=m
>>>> CONFIG_NF_NAT_MASQUERADE_IPV4=m
>>>> CONFIG_NF_NAT_SNMP_BASIC=m
>>>> CONFIG_NF_NAT_PROTO_GRE=m
>>>> CONFIG_NF_NAT_PPTP=m
>>>> CONFIG_NF_NAT_H323=m
>>>> CONFIG_IP_NF_NAT=m
>>>> CONFIG_NF_NAT_IPV6=m
>>>> # CONFIG_NFT_CHAIN_NAT_IPV6 is not set
>>>> # CONFIG_NF_NAT_MASQUERADE_IPV6 is not set
>>>> # CONFIG_IP6_NF_NAT is not set
>>>> CONFIG_BRIDGE_EBT_T_NAT=m
>>>> CONFIG_BRIDGE_EBT_DNAT=m
>>>> CONFIG_BRIDGE_EBT_SNAT=m
>>>> CONFIG_NET_ACT_NAT=m
>>>> CONFIG_NET_VENDOR_NATSEMI=y
>>>> CONFIG_NATSEMI=m
>>>> CONFIG_NATIONAL_PHY=m
>>>> CONFIG_CHECK_SIGNATURE=y
>>>> root@host:/boot#
>>>>
>>>> Build environment is in sdk. Current is not updated, latest is 0.10.
>>>> http://mirror.voyage.hk/download/ISO/sdk/voyage-sdk-0.10.0.iso
>>>>
>>>> I did't try cross-compile. I use only i386.
>>>>
>>>> Teco
>>>>
>>>>
>>>>
>>>>> Op 27 mei 2016, om 08:38 heeft Miroslav Míšek
>>>>> <[hidden email]> het volgende geschreven:
>>>>>
>>>>> I think that too. But I don`t have it in /lib/modules.
>>>>> Where can I find config for current kernel so I can try rebuild
>>>>> it? On web is only config for version 3...
>>>>>
>>>>> Thank you,
>>>>> Miroslav MisekDne 27. 5. 2016 8:03 AM Teco Boot <[hidden email]>
>>>>> napsal(a):
>>>>>> iptable_nat is missing.
>>>>>>
>>>>>> root@host:~# lsmod | grep iptable
>>>>>> iptable_mangle           876  1
>>>>>> iptable_nat             1086  1
>>>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>>>> iptable_filter           812  1
>>>>>> ip_tables               7772  3
>>>>>> iptable_filter,iptable_mangle,iptable_nat
>>>>>> x_tables                8744  16
>>>>>> ip6table_filter,xt_dscp,xt_HL,xt_hl,ip_tables,xt_tcpudp,ipt_MASQUERADE,ebt_ip,xt_conntrack,xt_nat,iptable_filter,ebtables,xt_TCPMSS,xt_connmark,iptable_mangle,ip6_tables
>>>>>> root@host:~#
>>>>>>
>>>>>> Teco
>>>>>>
>>>>>>
>>>>>>> Op 26 mei 2016, om 20:07 heeft Miroslav Misek
>>>>>>> <[hidden email]> het volgende geschreven:
>>>>>>>
>>>>>>> I tried that too - same result:
>>>>>>>
>>>>>>> root@office:~# lsmod
>>>>>>> Module                  Size  Used by
>>>>>>> ip_tables              12581  0
>>>>>>> xt_tcpudp               2064  0
>>>>>>> nf_conntrack_ipv6       5680  0
>>>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>>>> xt_conntrack            2480  0
>>>>>>> ip6table_filter          944  0
>>>>>>> ip6_tables             12969  1 ip6table_filter
>>>>>>> x_tables               12554  5
>>>>>>> ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,ip6_tables
>>>>>>> ipv6                  240368  40 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>>>> nf_nat_ipv4             3633  0
>>>>>>> nf_nat                  9532  1 nf_nat_ipv4
>>>>>>> nf_conntrack_ipv4       9054  1
>>>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>>>> nf_conntrack           59728  5
>>>>>>> nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>>>> ledtrig_netdev          2816  0
>>>>>>> ledtrig_timer           1248  0
>>>>>>> ledtrig_heartbeat       1288  0
>>>>>>> sp5100_tco              4016  0
>>>>>>> pcspkr                  1504  0
>>>>>>> fam15h_power            2144  0
>>>>>>> k10temp                 2408  0
>>>>>>> evdev                   7824  0
>>>>>>> i2c_piix4               7376  0
>>>>>>> acpi_cpufreq            5232  0
>>>>>>> igb                   113529  0
>>>>>>> i2c_algo_bit            4154  1 igb
>>>>>>> ptp                     8039  1 igb
>>>>>>> mmc_block              21057  2
>>>>>>> crc32c_intel            7360  0
>>>>>>> ehci_pci                3296  0
>>>>>>> ehci_hcd               32229  1 ehci_pci
>>>>>>> ahci                   23784  0
>>>>>>> sdhci_pci               9808  0
>>>>>>> libahci                17003  1 ahci
>>>>>>> sdhci                  20216  1 sdhci_pci
>>>>>>> mmc_core               71105  3 mmc_block,sdhci,sdhci_pci
>>>>>>> xhci_pci                2832  0
>>>>>>> xhci_hcd               78733  1 xhci_pci
>>>>>>> libata                137950  2 ahci,libahci
>>>>>>> usbcore               130000  4 ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
>>>>>>> usb_common              1464  1 usbcore
>>>>>>> pps_core                5105  1 ptp
>>>>>>>
>>>>>>> root@office:~# iptables -t nat -L
>>>>>>> iptables v1.4.21: can't initialize iptables table `nat': Table
>>>>>>> does not exist (do you need to insmod?)
>>>>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>>>>
>>>>>>> I am using default installed kernel:
>>>>>>>
>>>>>>> root@office:~# uname -r
>>>>>>> 4.1.6-voyage
>>>>>>>
>>>>>>> Thank you,
>>>>>>> Miroslav Misek
>>>>>>>
>>>>>>> On 26.5.2016 19:05, Teco Boot wrote:
>>>>>>>> nf_nat and nf_nat_ipv4 is missing.
>>>>>>>>
>>>>>>>> root@host:~# lsmod | grep nf
>>>>>>>> nf_nat_masquerade_ipv4     1305  1 ipt_MASQUERADE
>>>>>>>> nf_conntrack_netlink    19580  0
>>>>>>>> nfnetlink               3661  1 nf_conntrack_netlink
>>>>>>>> nf_nat_ipv4             3539  1 iptable_nat
>>>>>>>> nf_nat                  8532  3
>>>>>>>> nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
>>>>>>>> nf_conntrack_ipv4       8810  89
>>>>>>>> nf_defrag_ipv4           999  1 nf_conntrack_ipv4
>>>>>>>> nf_conntrack           52481  7
>>>>>>>> nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,xt_connmark,nf_conntrack_ipv4
>>>>>>>> root@host:~#
>>>>>>>>
>>>>>>>> I have my own build kernel (4.1.something). What is yours?
>>>>>>>>
>>>>>>>> Teco
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Op 26 mei 2016, om 12:13 heeft Miroslav Misek
>>>>>>>>> <[hidden email]> het volgende geschreven:
>>>>>>>>>
>>>>>>>>> Tried, but without success:
>>>>>>>>>
>>>>>>>>> root@office:~# lsmod
>>>>>>>>> Module                  Size  Used by
>>>>>>>>> iptable_filter           992  0
>>>>>>>>> ip_tables              12581  1 iptable_filter
>>>>>>>>> xt_tcpudp               2064  0
>>>>>>>>> nf_conntrack_ipv6       5680  0
>>>>>>>>> nf_defrag_ipv6         21535  1 nf_conntrack_ipv6
>>>>>>>>> xt_conntrack            2480  0
>>>>>>>>> ip6table_filter          944  0
>>>>>>>>> ip6_tables             12969  1 ip6table_filter
>>>>>>>>> x_tables               12554  6
>>>>>>>>> ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
>>>>>>>>> ipv6                  240368  34 nf_defrag_ipv6,nf_conntrack_ipv6
>>>>>>>>> nf_conntrack_ipv4       9054  0
>>>>>>>>> nf_defrag_ipv4          1230  1 nf_conntrack_ipv4
>>>>>>>>> nf_conntrack           59728  3
>>>>>>>>> xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
>>>>>>>>> ledtrig_netdev          2816  0
>>>>>>>>> ledtrig_timer           1248  0
>>>>>>>>> ledtrig_heartbeat       1288  0
>>>>>>>>> sp5100_tco              4016  0
>>>>>>>>> fam15h_power            2144  0
>>>>>>>>> pcspkr                  1504  0
>>>>>>>>> k10temp                 2408  0
>>>>>>>>> i2c_piix4               7376  0
>>>>>>>>> evdev                   7824  0
>>>>>>>>> acpi_cpufreq            5232  0
>>>>>>>>> igb                   113529  0
>>>>>>>>> i2c_algo_bit            4154  1 igb
>>>>>>>>> ptp                     8039  1
>
>


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Kim-man 'Punky' TSE-2
Check the same directory please.

On 5/30/2016 1:17 PM, Miroslav Misek wrote:

> Hi,
>
> I have amd64 architecture. Would it be possible to create package for it please?
>
> Thank you,
> Miroslav Misek
>
> On 30.5.2016 03:38, Kim-man 'Punky' TSE wrote:
>> Hi all,
>>
>> Please install the latest kernel from, and let me know if this works for you.
>>
>> http://mirror.voyage.hk/dists/experimental/linux/linux-image-4.1.6-voyage_17.1-1_i386.deb
>>
>> Regards,
>> Punky
>>

--
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
   - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
Hi,

result:
root@office:/lib/modules# iptables -t nat -L -v -n
iptables v1.4.21: can't initialize iptables table `nat': Table does not
exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

still missing iptable_nat module:
root@office:/lib/modules# modprobe iptable_nat
modprobe: FATAL: Module iptable_nat not found.

I checked kernel config and missing settings are:
CONFIG_IP_NF_NAT
CONFIG_IP_NF_TARGET_MASQUERADE
CONFIG_NF_NAT_MASQUERADE_IPV4

Regards,
Miroslav Misek

On 31.5.2016 04:02, Kim-man 'Punky' TSE wrote:

> Check the same directory please.
>
> On 5/30/2016 1:17 PM, Miroslav Misek wrote:
>> Hi,
>>
>> I have amd64 architecture. Would it be possible to create package for
>> it please?
>>
>> Thank you,
>> Miroslav Misek
>>
>> On 30.5.2016 03:38, Kim-man 'Punky' TSE wrote:
>>> Hi all,
>>>
>>> Please install the latest kernel from, and let me know if this works
>>> for you.
>>>
>>> http://mirror.voyage.hk/dists/experimental/linux/linux-image-4.1.6-voyage_17.1-1_i386.deb
>>>
>>>
>>> Regards,
>>> Punky
>>>
>


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
Hi,

Please any news?

Thank you,
Miroslav Misek

On 31.5.2016 14:15, Miroslav Misek wrote:

> Hi,
>
> result:
> root@office:/lib/modules# iptables -t nat -L -v -n
> iptables v1.4.21: can't initialize iptables table `nat': Table does
> not exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> still missing iptable_nat module:
> root@office:/lib/modules# modprobe iptable_nat
> modprobe: FATAL: Module iptable_nat not found.
>
> I checked kernel config and missing settings are:
> CONFIG_IP_NF_NAT
> CONFIG_IP_NF_TARGET_MASQUERADE
> CONFIG_NF_NAT_MASQUERADE_IPV4
>
> Regards,
> Miroslav Misek
>
> On 31.5.2016 04:02, Kim-man 'Punky' TSE wrote:
>> Check the same directory please.
>>
>> On 5/30/2016 1:17 PM, Miroslav Misek wrote:
>>> Hi,
>>>
>>> I have amd64 architecture. Would it be possible to create package for
>>> it please?
>>>
>>> Thank you,
>>> Miroslav Misek
>>>
>>> On 30.5.2016 03:38, Kim-man 'Punky' TSE wrote:
>>>> Hi all,
>>>>
>>>> Please install the latest kernel from, and let me know if this works
>>>> for you.
>>>>
>>>> http://mirror.voyage.hk/dists/experimental/linux/linux-image-4.1.6-voyage_17.1-1_i386.deb 
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Punky
>>>>
>>
>


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Miroslav Misek
Hi,

I just found out that you uploaded new version of kernel package. At
least by sha1sum it is different.
And this package looks much better. NAT table exists now.

Thank you!
Miroslav Misek

On 2.6.2016 12:34, Miroslav Misek wrote:

> Hi,
>
> Please any news?
>
> Thank you,
> Miroslav Misek
>
> On 31.5.2016 14:15, Miroslav Misek wrote:
>> Hi,
>>
>> result:
>> root@office:/lib/modules# iptables -t nat -L -v -n
>> iptables v1.4.21: can't initialize iptables table `nat': Table does
>> not exist (do you need to insmod?)
>> Perhaps iptables or your kernel needs to be upgraded.
>>
>> still missing iptable_nat module:
>> root@office:/lib/modules# modprobe iptable_nat
>> modprobe: FATAL: Module iptable_nat not found.
>>
>> I checked kernel config and missing settings are:
>> CONFIG_IP_NF_NAT
>> CONFIG_IP_NF_TARGET_MASQUERADE
>> CONFIG_NF_NAT_MASQUERADE_IPV4
>>
>> Regards,
>> Miroslav Misek
>>
>> On 31.5.2016 04:02, Kim-man 'Punky' TSE wrote:
>>> Check the same directory please.
>>>
>>> On 5/30/2016 1:17 PM, Miroslav Misek wrote:
>>>> Hi,
>>>>
>>>> I have amd64 architecture. Would it be possible to create package for
>>>> it please?
>>>>
>>>> Thank you,
>>>> Miroslav Misek
>>>>
>>>> On 30.5.2016 03:38, Kim-man 'Punky' TSE wrote:
>>>>> Hi all,
>>>>>
>>>>> Please install the latest kernel from, and let me know if this works
>>>>> for you.
>>>>>
>>>>> http://mirror.voyage.hk/dists/experimental/linux/linux-image-4.1.6-voyage_17.1-1_i386.deb 
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>> Punky
>>>>>
>>>
>>
>


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Kim-man 'Punky' TSE-2
This kernel version 4.1.6_17.2-1 also include leds-apu2.

On 6/3/2016 12:13 AM, Miroslav Misek wrote:
> Hi,
>
> I just found out that you uploaded new version of kernel package. At least by sha1sum it is different.
> And this package looks much better. NAT table exists now.
>
> Thank you!
> Miroslav Misek
>

--
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
   - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)


_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

angler31
In reply to this post by Teco Boot
Teco Boot wrote
nf_nat and nf_nat_ipv4 is missing.
I have my own build kernel (4.1.something). What is yours?
What patches did you apply besides the standard debian ones and perhaps
openwrt ones?
 
Regards
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

Teco Boot
Nothing that has to do with iptables.
I do not use any "standard debian" patch.

Teco

> Op 22 jul. 2016, om 09:34 heeft angler31 [via Voyage Linux] <[hidden email]> het volgende geschreven:
>
> Teco Boot wrote
> nf_nat and nf_nat_ipv4 is missing.
> I have my own build kernel (4.1.something). What is yours?
> What patches did you apply besides the standard debian ones and perhaps
> openwrt ones?
>  
> Regards
>
> If you reply to this email, your message will be added to the discussion below:
> http://voyage-linux.34677.n3.nabble.com/iptable-nat-tp4026482p4026489.html
> This email was sent by angler31 (via Nabble)
> To receive all replies by email, subscribe to this discussion

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: iptable_nat

angler31
Teco Boot wrote
Nothing that has to do with iptables.
I do not use any "standard debian" patch.
Oh no, I no longer have any problem with iptables, but since I'm trying to roll
my own kernel I was hoping you could tell me which patches you applied to
yours.

Regards

P.S: I tried contacting you in private, but strangely enough emails bounce due
to a lack of proper MX record. Perhaps it's a problem on my end, but can
you confirm the address is the one shown here?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Voyage-Linux - APU2 - SD Card?

PLBarton
In reply to this post by Miroslav Misek
Has anyone figured out how to install voyage-linux onto an APU2 with a destination drive of SD card?
 
I figured that with the 20160307 BIOS, which specifically mentions "boot from SD" this would be a no-brainer.  However, I can not get the operating system to recognize the SD card.  I have booted Voyage-LiveCD from a USB stick and still I am not able to detect the SD card. 
 
Has anyone already come up with a solution to this problem?

Thanks,
 
 
--
Peter Barton

_______________________________________________
Voyage-linux mailing list
[hidden email]
http://list.voyage.hk/mailman/listinfo/voyage-linux
12
Loading...