Kernel module request: MASQuerade on FR

Fredrik Wendt fredrik at wendt.se
Sun Aug 24 21:10:45 CEST 2008


mån 2008-08-11 klockan 00:54 +0200 skrev Holger Freyther:
> On Sunday 10 August 2008 11:50:57 Fredrik Wendt wrote:
> 
> > iptables said it didn't recognize match/rule/target but SNAT worked with
> > the same arguments. Can't get my FreeRunner to boot now (completely
> > dead) so I can't give you the exact error message. I will as soon as my
> > FreeRunner comes back to life again. :/
> >
> > The command I used would've been
> > 'iptables -t nat -A POSTROUTING -s 192.168.0.200 -j MASQUERADE '
> >
> >
> > 'iptables -t nat -A POSTROUTING -s 192.168.0.200 -j SNAT --to-source
> > 83.84.85.68' however did work.
> 
> I'm sitting in a ICE to berlin and use GPRS through the neo to send this mail.
> 
> iptables -t nat -I POSTROUTING -o ppp+ -j MASQUERADE works fine after 
> installing iptables and allowing ip_forwarding.
> 
> z.


Hi. No, I can't get this to work out of the box (fso-testing image from
shr.bear...):

# iptables -t nat -I POSTROUTING -o ppp+ -j MASQUERADE
iptables: No chain/target/match by that name
# lsmod
Module                  Size  Used by
iptable_nat             5860  0 
nf_nat                 16118  1 iptable_nat
nf_conntrack_ipv4      14344  2 iptable_nat
nf_conntrack           58312  3 iptable_nat,nf_nat,nf_conntrack_ipv4
ip_tables              10344  1 iptable_nat
x_tables               11812  2 iptable_nat,ip_tables
# ls /lib/modules/2.6.24/kernel/net/ipv4/netfilter
ip_tables.ko
iptable_filter.ko
iptable_nat.ko
nf_conntrack_ipv4.ko
nf_nat.ko
# ls /lib/modules/2.6.24/kernel/net/netfilter
nf_conntrack.ko
x_tables.ko
#

What am I missing?

/ Fredrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
	meddelandedel
Url : http://lists.openmoko.org/pipermail/community/attachments/20080824/d0c02f3a/attachment.pgp 


More information about the community mailing list