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 <miroslav.mi...@netgarden.cz> 
> 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 <miroslav.mi...@netgarden.cz> 
>>> 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 <t...@inf-net.nl> 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 
>>>>> <miroslav.mi...@netgarden.cz> 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 
>>>>>>> <miroslav.mi...@netgarden.cz> 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
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to