I think your script should read...
/sbin/ipfwadm -F -a masquerade -W ppp0 -S 192.168.1.0/24 -D 0.0.0.0/0
instead of
/sbin/ipfwadm -F -a masquerade -W ppp0 -S 192.168.0.0/16 -D 0.0.0.0/0
192.168.x.x is a class c network with a netmask of 255.255.255.0. I would
guess that this is why diald is dialing when you log on to the linux box.
Have a look at part 3.4.2 in the IP-Masquerade HOWTO at
ftp://sunsite.unc.edu/pub/linux/docs/HOWTO/mini/IP-Masquerade/
BTW: I only got Daild working myself last night & tonight is Masquerading
night so I'm not 100% on this myself :)
John Anderson
-----Original Message-----
From: Sanjiv Bawa [mailto:[EMAIL PROTECTED]]
Sent: 12 July 1999 21:54
To: [EMAIL PROTECTED]
Subject: Problems with Diald (I have it mostly working)
I have gotten diald to work and it has been working fine for some time.
However, I have some irksome problems that I would like to resolve
I am using Red Hat 5.1
My forwarding script is:
/sbin/ipfwadm -F -a masquerade -W ppp0 -S 192.168.0.0/16 -D 0.0.0.0/0
I have diald 0.16.5a-2 installed
1. How do I get diald to start automatically upon reboot ?
2. How do I get my IP forwarding script started upon reboot
3. When the diald connection is down it takes about a minute to telnet into
the linux machine.
4. Diald attempts to get a connection going when I attempt to log in to the
linux machine which is at 192.168.1.1.
5. I can't get forwarding to work when the dialing is initiated. I put 1
into the /proc/sys/net/ipv4/ip_forward file and it does not work. I would
like the email program (Outlook) to call out every few hours and get my
mail. There is no way it will work.
6. Diald hangs up after a few seconds if no packets are sent through the
connection. This is related to 4.
I will greatly appreciate any help anyone can provide.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]