USB networking with Ubuntu 9.04

Matthias Huber matthias.huber at wollishausen.de
Wed Oct 7 09:27:36 CEST 2009


Tony Berth schrieb:
> Bingo. Thanks A LOT!
>
> Is it possible to update the Wiki with that one. I think this will be 
> a great help to the whole community
>
if you would tell me wich of / or both tricks did it on your system ?
>
>
>         but i had to add this two lines to my /etc/ufw/ufw.conf
>
>         ufw allow from 192.168.0.202
>         ufw allow to 192.168.0.202
>
>
>         another trial with iptables needs to load some modules too:
>
>         #!/bin/sh
>
>         MOKO=192.168.0.202
>
>
>         echo 1 > /proc/sys/net/ipv4/ip_forward
>         modprobe ipt_MASQUERADE
>
>         iptables -I FORWARD -j ACCEPT -d ${MOKO}/32
>         iptables -I FORWARD -j ACCEPT -s ${MOKO}/32
>         iptables -I POSTROUTING -t nat -j MASQUERADE -s ${MOKO}/32
>


-- 
Mit freundlichen Grüssen
Matthias Huber 
Kohlstattstr. 14
86459 Wollishausen
Tel: 08238-7998
LPI000181125

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20091007/841b9c39/attachment.htm 


More information about the community mailing list