Re: dialup question ?

From: Tony Frank (tfrank_at_optushome.com.au)
Date: 02/21/04

  • Next message: Rasmus Fauske: "Mutli ip jail patch"
    Date: Sat, 21 Feb 2004 20:24:49 +1100
    To: Roberto Pereyra <rjpereyra@gualeguaychu.gov.ar>
    
    

    Hi,

    On Fri, Feb 20, 2004 at 07:37:49PM -0300, Roberto Pereyra wrote:
    >
    > A question:
    >
    > I want to configure a simple dial-up server and have this ppp.conf
    >
    > --------------------------
    > default:
    >
    > pap:
    > set debug phase lcp chat
    > set timeout 0 set debug phase lcp chat
    > enable pap
    > set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0
    > enable proxy
    > accept dns
    > set dns 192.168.0.1
    > load server
    > set radius /etc/radius.conf
    > ------------------------------------
    >
    > My dial-up server (192.168.0.170) is not the internet gateway (192.168.0.1)
    >
    > The line:
    >
    > set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0
    >
    > is right ? the first ip must be the system gateway or must be the dial-up server ip ?

    I think it should be the gateway as you are going to be proxying the dialup users onto
    your local LAN.
    The dialup box will proxy-arp the dialup users to the LAN and will forward their
    packets to the gateway.

    I have a similar setup to what you describe.
    In my case the dialup is also the gateway which makes it simpler.

    My config is:

    server:
     set timeout 0
     set enddisc mac
     enable chap chap81 pap passwdauth
     enable proxy
     set ifaddr 192.168.3.2 192.168.3.80-192.168.3.100 255.255.255.255
     set server /var/run/ppp/ppp-server-%d "" 0177
     set dns 192.168.3.2
     set nbns 192.168.3.2
     accept dns

    Regards,

    Tony
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Rasmus Fauske: "Mutli ip jail patch"

    Relevant Pages

    • Re: dialup question ?
      ... > I want to configure a simple dial-up server and have this ppp.conf ... > enable pap ... > set dns 192.168.0.1 ... I think it should be the gateway as you are going to be proxying the dialup users onto ...
      (freebsd-questions)
    • Re: My posts cannot get througt to scs!
      ... We know what u have done for Singapore. ... U only lick the pap rotten arses and suck pap ... to believe that he's being PAID to posts irrelevant ... and if possible, FREE news server? ...
      (soc.culture.singapore)
    • Re: My posts cannot get througt to scs!
      ... A rotten dead pap lapmonkey like u only knows how to lick ... Your server is in Australia, who will believe your paranoid bullshit! ... the internet to cripple other users. ... If these are not the work of the Singapore pap government ...
      (soc.culture.singapore)
    • ppp implementation over GPRS
      ... I appear to be getting as far as the PAP, ... but then the server just waits for about 10 seconds and disconnects ... Rocky ... Prev by Date: ...
      (comp.arch.embedded)
    • Re: Carp
      ... I am attempting to create a fault-tolerant mail relay server ... for our dialup users. ... The plan is to have 2 A records as such: ... mailoutserver A 192.168.1.10 ...
      (freebsd-isp)