This guide presumes ...
Host = Linux
Client = Windoze
eth0 = Internet Connection
eth1 = LAN
su
echo "1" > /proc/sys/net/ipv4/ip_forward
service shorewall stop && chkconfig --del shorewall
Download [url=IPKUNGFU]http://www.linuxkungfu.org/ipkungfu/ipkungfu-0.4.0.tgz[/url]
cd ~/ipkungfu
su
./install
pico /etc/ipkungfu/custom.conf
On the line $IPTABLES -A OUTPUT -p udp --dport 2002 -j $LOG_CMD "SLAPPER! rm -f /tmp/*bugtraq*" remove the -j (shown in bold.
pico /etc/ipkungfu/ipkungfu.conf
make sure you have defined the correct ethernet devices
EXT_NET="eth0"
INT_NET="eth1"
Also, set Masquerading and IP_forwarding to 1
run 'ipkungfu'
and check 'iptables -L' to verify.
Now point your DNS on the windows machine to the results you get in
grep nameserver /etc/resolv.conf
and your gateway to your internal IP
ifconfig eth1
(Dont forget to make your Windoze internal IP within the 'LOCAL_NET' range)
Restart your Windoze machine (ROFL)
And your network should be working



