Guest BaDDaSS Posted May 1, 2003 Report Share Posted May 1, 2003 Here's my guide to sharing an internet connection. 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 http://www.linuxkungfu.org/ipkungfu/ipkungfu-0.4.0.tgz 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 :D Quote Link to comment Share on other sites More sharing options...
Guest BaDDaSS Posted May 1, 2003 Report Share Posted May 1, 2003 PS: This was intended for Mandrake, you do not need to disable Shorewall if you are not running mandrake. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.