Thanks,
I'll try it as soon as I get IP masq working.
Now that I am able to make a dial up connection,
next weekends project is ip masquarading and
packet forwarding. so I can use the Linux machine
to connect the windows machines to the internet.
No more crawling under the desk to switch
phone lines! 
              Thanks
              Linda Hanigan
----- Original Message ----- 
From: "Mike Rambo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 3:10 PM
Subject: Re: ifup ppp0


> linda hanigan wrote:
> > 
> > Hi all,
> > I got my internet connection working. I was wondering
> > how I set it up so users can dial up the ISP.
> >                   Thanks
> >                    Linda Hanigan
> > 
> 
> 
> As a starting point you might try the following link.  It does assume a
> basic level of ppp functionality (that being "ifup ppp0" successfully
> connects to ISP if I recall) but I found it successful with a couple of
> modifications.  One factor is that ISP's can vary in what they require
> to authenticate - username vs. login for example.
> 
> http://www.nleaudio.com/bnotes/dialondemand.htm
> 
> This link will help you get dial on demand ppp set up.  The other half
> of the equation is to set ipchains to forward and masquerade packets on
> your eth network to your ppp connection.
> 
> You should create the file /etc/ppp/ip-up.local with the masq and
> forwarding stuff.  The following is a functional starting point.
> 
> # Enable IP forwarding
> echo 1 > /proc/sys/net/ipv4/ip_forward
> # Flush existing ruleset
> ipchains -F forward
> # Default policy is to DENY
> ipchains -P forward DENY
> # Append a policy to masquerade & forward any local traffic to any
> destination
> ipchains -A forward -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQ
> 
> You'll have to sub the correct IP above of course.  Be sure to make the
> ip-up.local file executeable.  You may also want to make an
> ip-down.local file to undo the firewall (IP masq & forward) rules when
> the link is brought down.
> 
> Diald is another option for demand dial but I found it very difficult
> and confusing to set up (or maybe I was just in 'duh' mode that day :-).
> 
> If you need more help just ask :-).
> 
> 
> -- 
> Mike Rambo
> [EMAIL PROTECTED]
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to