Hi,<br><br>    On Maemo PC Connectivity, we managed to get MASQUERADE working on N810. Just install the Maemo PC Connectivity following the instructions at <a href="http://pc-connectivity.garage.maemo.org/2nd_edition/index.html">http://pc-connectivity.garage.maemo.org/2nd_edition/index.html</a>. After that, you will be able to share the internet of your maemo device.<br>
<br>Regards,<br><br>Andre Rodrigues<br><br><div class="gmail_quote">2009/9/30 Tommi Kyntola <span dir="ltr">&lt;<a href="mailto:tommi.kyntola@ray.fi">tommi.kyntola@ray.fi</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Has someone gotten MASQUERADE to work on an n810?<br>
<br>
My problem is two-fold. First, the kernel compiled in scratchbox<br>
doesn&#39;t work in n810 if I enable CONFIG_NF_CONNTRACK_ENABLED=m<br>
(or =y for that matters). Has someone gotten this to work?<br>
Identical .config with =n works fine. I got the modules<br>
insmodded and iptables -t nat to work once I compiled<br>
them afterwards. I.e. compiled the zImage with said option<br>
set to n and then rebuild modules with said option set to m<br>
(along with few others necessary for full nat).<br>
<br>
My set up is an usb ethernet nic set up as eth0, which works<br>
just fine on the n810. The n810 is to function as a pxe boot<br>
server. I installed the udhcpd and tftpd and a system<br>
behind the n810 (eth0) netboots just fine. And it can<br>
ping the n810, but packets that are forwarded<br>
out through the n810 wlan0 don&#39;t get masqueraded.<br>
And that&#39;s the second and my main problem.<br>
<br>
I have the routes and the iptables rules in place and<br>
also the ip_forward is allowed. The pings for example<br>
do indeed passthrough and even increase the packet<br>
cound in matching postrouting -j MASQUERADE rule,<br>
but mysteriously they are not source-ip-translated.<br>
I.e. they appear on the wlan0 side unaltered with their<br>
original source ip (i.e. the ip of the host computer),<br>
just as-if they would without the masquerade rule.<br>
<br>
I was unable to google any reference to someone actually<br>
getting the MASQUERADE working on an n810.<br>
<br>
Any pointers/help appreciated...<br>
<br>
cheers,<br>
<font color="#888888">Tommi Kyntola<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</font></blockquote></div><br>