I've been trying to work out the problems I'm having with diald and
masquarding
and posting to this list for about a week now. I've gotten lots of good
feedback but I'm still having problems. I realized this morning that I haven't
told the whole story so I thought I would detail the whole situation and maybe
somebody would see something the would ring a bell (and solve all my
problems!!). So here it is:
I'm running RH5 with kernel 2.0.33.
I have a Linux box that connects to my ISP via modem.
I have 3 other machines (NT and 95) that are connected to it by ethernet.
I set up IP masquarading so that I can connect the Linux box to my ISP and all
of the machines have internet access.
I decided to take the next step and install diald so I got the RPM's from the
redhat ftp site for diald.
I installed it and fought with it for a while then I read somewhere that diald
needs SLIP compiled in to work.
No problem - I quickly built a new kernel with every thing the same as the old
one except for SLIP was turned on.
As is my habit I do a "make zdisk" to make a new kernel on a floppy so I can
boot from that to make sure I didn't break
anything.
If I boot from the floppy, diald seems to work ok - If I try to access the
internet from any machine the modem dials and a PPP session is established.
The
problem is that I can't reach the internet from any of the remote machines
(telnet, ftp, http - all hosed). From the Linux machine everything works fine.
I can ping the linux machine from any of the others but I can't ping anything
on the outside world.
If I pull out the floppy and boot the old kernel I can start the ppp session
manually and everything works fine.
If I do an "ipfwadm -M -l" I get the following output:
IP masquerading entriesprot expire source destination
portstcp 14:46.32 192.168.0.2 pairoducks.monitor.net 2515 (61020) ->
telnetudp 04:44.89 192.168.0.2 pairoducks.monitor.net 2514
(61019) ->
domain
This is the same with either kernel running (192.168.0.2 is the NT machine I'm
trying to start a telnet session on). So, it looks like my packets are being
forwarded to the ISP but maybe not getting back?? I don't know where to go
from
here.
Is there some kind of software packet sniffer I can use to examine incoming
and
outgoing packets?
Is there a differance between running the kernel from a floppy and running it
from the harddrive (shouldn't be - I think it all just loads into memory
right??).
Any ideas anybody??
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]