I've had diald running for about a month now along with DNS, DHCP, and mail
services, but this past weekend was the 1st time I tried connecting a 2nd PC
to my server and letting it do it's thing.
Friday night I was up until 3a and Saturday I spent most of the day in front
of this stinking machine. By 5p Sat I found the problem! I had the exact
same problem you had. I could see machines on my network and I could see
the ppp0 interface, but I could not get past that point. Heck, I could
launch my browser on a M$ machine and it would cause diald to dial, my
server would translate the URL into an IP address and give it back, but I
couldn't get a connection ...
I had the following command in my rc.local because my system gets a dynamic
IP address from my ISP:
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
Basically, all I did was add the next line to my /etc/rc.d/rc.local file:
echo "1" > /proc/sys/net/ipv4/ip_forward
I say basically because I also have ipchains running. I had "flushed" all
the rules to see if that was causing the problem which still kept me from
getting out until I put the rules back in. A very basic ruleset that worked
for me:
ipchains -P DENY
ipchains -A forward -i ppp0 -j MASQ
For more on security and an in-depth guide to firewalling with ipchains
check out the upcoming October issue of http://www.linuxgazette.com for an
article I'm co-authoring. (You could also stop by during the month of
August to see the DNS guide and September will cover Mail.)
Bill Mote
[EMAIL PROTECTED]
-----Original Message-----
From: D Gopinath <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, August 15, 1999 5:34 AM
Subject: Routing Problem
>Hi Guys,
>
>I have a problem in setting up routing through a Linux(Redhat 5.2)
>Machine which runs pppd, diald.
>
>The problem i have is that i could not Ping the Remote Hosts where as i
>can Ping the second interface(ppp0) of the Linux Machine from a Win95
>machine.
>
>In the Linux machine default route is set through ppp0. I have also set
>the option "proxyarp" in diald.conf .
>IP Forwarding is enabled & IPFWADM is running in the system. Can any1
>shed light on whatelse has to be done to establish the routing.
>Reffered Diald FAQ but no luck.
>
>Thanks
>Gopinath
>
>_________________________________________________________
>Do You Yahoo!?
>Bid and sell for free at http://auctions.yahoo.com
>
>
>-
>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]