Eddie Strohmier wrote:
> Ken:
>
> I can't answer your question but I'd love to here an answer to it as I have
> a similiar situation with a school network. I allow dial in access for 2 ppp
> links using RH 6.2 and my only way around the situation you described below
> was to allow the dial in users to access ppp via another lanned RH 6.2 mail,
> ftp, samba server on the internal network. So I left my other firewall
> machine alone with it's ppp access to the net and the interface with eth0 to
> the school lan which is full of windoze machines. But if you don't have a
> spare machine to allow a seperate dial in server I don't see a way around
> this other than some some config file or scripting that I am not familiar
> with.
>
> Eddie Strohmier
>
> ----- Original Message -----
> From: "Ken Cole" <[EMAIL PROTECTED]>
> To: "redhat-list" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 06, 2000 1:06 AM
> Subject: PPP Problem
>
> > Hi,
> >
> > RH5.2, kernel 2.0.36 standard out of the box
> > mgetty mgetty-1.1.14-5 standard put of the box
> >
> > ppp0 is setup for a permanent dialout ppp connection to the net.
> > ppp[123] are setup for dialin access.
> >
> > Randonly ppp0 re-dials and at the same time a user dials in and gets
> > ppp0 so the out link gets ppp[123], what ever is avaialable.
> >
> > However, the firewall rules are significantly different for the big bad
> > world access to the dial in access and therefore some outside world
> > stuff stops working under this scenario.
> >
> > how can I stop the dial in ppp's grabbing ppp0 and leaving it for the
> > dial out ppp.
> >
I don't think you can but you can use /etc/ppp/ip-up.local to set the rules.
There are 5 arguments passed to this script IIRC and you should be able to
figure out a way to tell which interface is coming up. One way would be to
look at the ipaddress and if it is not the one that should be on a given
interface, then kill ppp and let the other one come up.
Sort of cludgy but probrbly workable. Another would be to jsut set the routes
and ipchains rules based on what is coming up. This is probably best IMHO.
Are you using the demand feature of ppp to keep ppp0 up? I did not realize
that it would allow it to acually go down
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list