Try putting this lines at rc.local of your server so it'll startup at boot.
This enables ip masquerading for your clients in the network who uses the
server as
your gateway and whose IP is internal.

* /sbin/ipfwadm -F -p deny (DENY all services)
* /sbin/ipfwadm -F -a accept -m -S 192.168.10.0/24 (allow all connections,
from 192.168.10.0 network)



-----Original Message-----
From: Dave Freeman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, April 26, 1998 4:44 PM
Subject: Re: Auto-Start PPP and Default Gateway


On 26 Apr 98 at 15:16, Benjamin de los Angeles Jr. wrote:

>>>> What I would like to do now is change the default route so that
>>>> the ppp link on the RH5 box is the default route for the RH5 box

>>> Add 'defaultroute' in your /etc/ppp/options file that should make
>>> your ppp interface the defaultroute for your LAN.

>> The only problem with that being that I already have a default
>> route

> The default route would be eth0 if you haven't specified
> defaultroute in your /etc/ppp/options file. If you automated your
> connection using ppp-on, try pinging outside sites and you won't
> get any response, assuming you have resolv.conf properly setup,
> since eth0 as the defaultroute. In short the purpose of
> defaultroute in your options file, overrides eth0 as the
> defaultroute making ppp0 as the new defaultroute.

Thanks for the extra info.  In the end I commented out the gateway
stuff in /etc/sysconfig/network and added a defaultroute option to my
ppp startup and it's now working on at least the local machine.

All I need now is to get that gateway working for other machines on
the LAN and I'll be very happy.  Can't help feeling that I've missed
something fairly obvious in routing somewhere so will go back and
start working through the network admin guide again for more info on
that side of things.




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to