<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 10:27 AM, Matthias Huber <span dir="ltr">&lt;<a href="mailto:matthias.huber@wollishausen.de">matthias.huber@wollishausen.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Tony Berth schrieb:
<div class="im"><blockquote type="cite">Bingo. Thanks A LOT!<br>
  <br>
Is it possible to update the Wiki with that one. I think this will be a
great help to the whole community<br>
  <br>
</blockquote></div>
if you would tell me wich of / or both tricks did it on your system ?<div class="im"><br>
<blockquote type="cite">
  <div class="gmail_quote">
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="gmail_quote">
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div>
      <div>
      <div bgcolor="#ffffff" text="#000000"><br>
but i had to add this two lines to my /etc/ufw/ufw.conf<br>
      <br>
ufw allow from 192.168.0.202<br>
ufw allow to 192.168.0.202<br>
      <br>
      <br>
another trial with iptables needs to load some modules too:<br>
      <br>
#!/bin/sh<br>
      <br>
MOKO=192.168.0.202
      <div><br>
      <br>
echo 1 &gt; /proc/sys/net/ipv4/ip_forward<br>
      </div>
modprobe ipt_MASQUERADE<br>
      <br>
iptables -I FORWARD -j ACCEPT -d ${MOKO}/32<br>
iptables -I FORWARD -j ACCEPT -s ${MOKO}/32<br>
iptables -I POSTROUTING -t nat -j MASQUERADE -s ${MOKO}/32 <br>
      <br></div></div></div></blockquote></div></blockquote></div></blockquote></div></div></blockquote><div><br>what works was the script Cristian Gomez included in his reply!<br><br>Just for the records, the first time I run that script it does assign the 192.168.0.200 IP to eth1 but can&#39;t ping/access 192.168.0.202! Then:<br>
<br>- I disconnect Openmoko<br>- connect it again<br>- re-run the script and voila the connection is there!<br><br>Thanks<br><br>Tony<br></div></div><br>