Kernel module request: MASQuerade on FR

Michael 'Mickey' Lauer mickey at openmoko.org
Mon Aug 25 02:03:58 CEST 2008


Am Sonntag 24 August 2008 21:10:45 schrieb Fredrik Wendt:
> 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?

Please install kernel-module-ipt-masquerade. Next version of FSO will include 
this by default.

-- 
:M:




More information about the community mailing list