OK lets say you have the windows box connected to eth0
so first allow the connection through your firewall
$IPTABLES -A INPUT -i eth0 -j ACCEPT
then just make a seperate boot script called something like ipmasq and in it or add this to the bottom of you firewll script put
this assumes dialup ppp0 so adjust too your setup
Code:
#!/bin/bash
echo "setting up IPmasquerading......"
IPTABLES='/sbin/iptables'
#All The lines below are NAT routing
# flush any old rules
$IPTABLES -F -t nat
# turn on NAT (IP masquerading for outgoing packets)
$IPTABLES -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
# enable IP forwarding (of incoming packets)
echo 1 > /proc/sys/net/ipv4/ip_forward
and set the address to the Linux box in windows as the default route and there you go