I have found hundreds of tutorials over the internet on how to share your 
own computers internet connection over USB with the beaglebone. However I 
want to do the reverse. I want to have the Beaglebone connected to the PC 
with USB and to the router via ethernet. The PC is not connected to the 
router directly. I would then like the Beaglebone to share the internet it 
is getting from the router to the PC over USB. 

So far I am doing the following: 

sysctl net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT 

sudo iptables -A FORWARD -i usb0 -o eth0 -j ACCEPT 

However I am stuck as to what else I am missing for this to be able to 
work. 

Any help would be appreciated. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5fbaff32-bfd2-4026-8178-35912d005b34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to