I have compiled a kernel with all of the relevant iptables modules
and get errors when trying to use iptables:
# iptables -L
iptables v1.3.6: can't initialize iptables table `filter': No
chain/target/match by that name
Perhaps iptables or your kernel needs to be upgraded.
# iptables -t nat -L
iptables v1.3.6: can't initialize iptables table `nat': No
chain/target/match by that name
Perhaps iptables or your kernel needs to be upgraded.
# lsmod
Module Size Used by
xt_state 2112 0
iptable_filter 2368 0
iptable_nat 5860 0
ip_tables 10824 2 iptable_filter,iptable_nat
nf_nat 16370 1 iptable_nat
nf_conntrack_ipv4 15276 2 iptable_nat
nf_conntrack 57188 4
xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 5368 3
nf_nat,nf_conntrack_ipv4,nf_conntrack
x_tables 12484 3 xt_state,iptable_nat,ip_tables
zd1211rw 49956 0
firmware_class 7904 1 zd1211rw
ieee80211softmac 27648 1 zd1211rw
ieee80211 29924 2 zd1211rw,ieee80211softmac
ieee80211_crypt 4992 1 ieee80211
mvsata 73064 0
vfat 10816 0
fat 48380 1 vfat
usbhid 15140 0
sd_mod 15792 0
usb_storage 25796 0
scsi_mod 87460 3 mvsata,sd_mod,usb_storage
libusual 14096 1 usb_storage
tsuart7800 2716 0
tsuart1 13964 1 tsuart7800
ehci_hcd 33580 0
ts7800 3600 2
usbcore 115968 6
zd1211rw,usbhid,usb_storage,libusual,ehci_hcd
I have tried looking at debian specific stuff, found a few mentions
of internal iptables changes right at 2.6.21, and this email below
of someone asking the same question, but have found no answer. I'm
not sure what to try next.
To: |
|
Subject: |
[ts-7000] Anyone got iptables working on a TS-7800 ? |
From: |
"malnatiantoine" <> |
Date: |
Tue, 13 Jan 2009 19:26:43 -0000 |
Hello everyone.
I want to use my TS-7800 board as a NAT.
I recompiled the kernel as the netfilter modules
are not provided with the latest distribution.
Cross-compiling went fine, here's the lsmod
output on the board :
:netfilter# lsmod
Module Size Used by
xt_state 2112 0
iptable_mangle 2272 0
nf_conntrack_irc 5676 0
nf_conntrack_ftp 8352 0
iptable_nat 6532 0
nf_nat 16722 1 iptable_nat
nf_conntrack_ipv4 15788 2 iptable_nat
nf_conntrack 58756 6
xt_state,nf_conntrack_irc,nf_conntrack_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 5368 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
iptable_filter 2368 0
ip_tables 11176 3 iptable_mangle,iptable_nat,iptable_filter
x_tables 12484 3 xt_state,iptable_nat,ip_tables
mvsata 73064 0
vfat 10816 0
fat 48380 1 vfat
usbhid 15140 0
sd_mod 15792 0
usb_storage 25796 0
scsi_mod 87460 3 mvsata,sd_mod,usb_storage
libusual 14096 1 usb_storage
tsuart7800 2716 0
tsuart1 13964 1 tsuart7800
ts7800 3600 0
zd1211rw 49956 0
firmware_class 7904 1 zd1211rw
ieee80211softmac 27648 1 zd1211rw
ieee80211 29924 2 zd1211rw,ieee80211softmac
ieee80211_crypt 4992 1 ieee80211
ehci_hcd 33580 0
tssdcard 32192 2
usbcore 115968 6
usbhid,usb_storage,libusual,zd1211rw,ehci_hcd
The following command :
#iptables -t nat -A POSTROUTING -s 192.168.168.0/24 -o eth1 -j MASQUERADE
gives the following error :
iptables v1.3.6: can't initialize iptables table `nat': No
chain/target/match by that name
Perhaps iptables or your kernel needs to be upgraded.
I really don't know where to look anymore...
Any help would be very appreciated.
Thanks !
--
Ryan
__._,_.___
__,_._,___
|
|