Ubuntu PC has:
auto eth0:0
iface eth0:0 inet static
address 192.168.0.21
netmask 255.255.255.0
In /etc/network/interfaces:
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables –table nat -A POSTROUTING -o eth0 -j MASQUERADE
From udhcp.conf:
start 192.168.0.22 #default: 192.168.0.20
end 192.168.0.254 #default: 192.168.0.254
opt dns DNS IP addresses from Internet Provider
opt router 192.168.0.21 (use Ubuntu PC as the gateway)
/etc/init.d/udhcpd stop; /etc/init.d/udhcpd start
From internal home PC (windows in my case):
ipconfig /release
ipconfig /renew
Should be working now ..