ok would something like this work
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface wlan0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
- Enables packet forwarding by kernel
route add -net 192.168.1.0 netmask 255.255.255.0 gw XXX.XXX.XXX.XXX dev wlan0
Where XXX.XXX.XXX.XXX is the internet gateway defined by my LAN(not sure if this is my computer or the gateway of my computer!?)
so what do ye think am i missing anything at all!?
surely there is more or does that look right
ill be testing it 2morrow but wondering am i going about it the right way and if it works ill post up the config i used for it to be of benfit for others!