[Voyage-linux] iptable_nat
Miroslav Misek
(spam-protected)
Fri May 27 02:07:45 HKT 2016
I tried that too - same result:
root at 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 at 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 at 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 at 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 at 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.misek at netgarden.cz> het volgende geschreven:
>>
>> Tried, but without success:
>>
>> root at 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 at 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 <miroslav.misek at netgarden.cz> het volgende geschreven:
>>>>
>>>> Hi,
>>>>
>>>> I am using voyage-linux on APU.2C2.
>>>> Installed snapshot amd64 version.
>>>>
>>>> I am not able configure nat:
>>>> root at 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 at 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
>>>> Voyage-linux at list.voyage.hk
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
More information about the Voyage-linux
mailing list