Host:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o usb0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i usb0 -o eth0 -j ACCEPT
Kindle:
Code:
route add default gw 192.168.1.15
echo "nameserver 8.8.8.8" > /etc/resolv.conf
This is all untested (I don't even even the Kindle here), but that's the idea. I'll test it when I get home (and possibly update this post if I got something wrong).