[Ilugc] Problem with crossover connection internet sharing FC3

  • From: harish85_bt@xxxxxxxxx (harish sundararaj)
  • Date: Sun Jun 5 00:22:30 2005

Hi,
I have an ethernet internet connection. I wish to
share this with a laptop. I have 2 NICs on the server
and have connected to the laptop through a crossover
cable connection. The specs are:

host
internet
eth0: 192.168.11.x
gateway : 192.168.11.1

eth1
192.168.0.1
gateway: none

Laptop
eth0: 192.168.0.2
gateway: 192.168.0.1

Both comps have WinXP/FC3 dual boot.
This setting works fine when the server is in windows
and the laptop in linux/windows

However when the server is in linux, two-way ping is
possible. Samba, NFS file sharing also works. Internet
access however is not possible from the laptop. The
problem seems to be with iptables. IP Masquerading
doesnot seem to work though i added the rules
ip_forward = 1
and enabled POSTROUTING.
I tried using firestarter, however that too doesn't
work. Does it have anything to do with recompiling the
kernel? Also i cannot run iptables other than as root.
Does that have something to do with this?
Please do help.

Harish

 HARISH.S




                
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/

Other related posts: