Hi..
For enabling IP forwarding simply open the file '/etc/sysctl.conf' and locate the option 'net.ipv4.ip_forward = 0'. Here change the value 0 to 1.
About NATing you can us the following command...
Quote:
iptables -t nat -A POSTROUTING -s 192.168.x.x/24 -j MASQUERADE
|
After doing all this you need to change the default gateway of your win m/c poining to your linux m/c ip.