+ Responder ao Tópico



  1. #1

    Padrão pptp vs pppoa

    Galera,

    solicitei o serviço adsl empresarial da brasiltelecom e to precisando configurar o pptp.
    Li em http://forum.under-linux.org/index.php/topic,25121.0 que, no /etc/pptpd.conf, na opção localip colocaria o ip que seria atribuido ao meu servidor e em remoteip o ip atribuido à conexão. No localip seria o ip fornecido pela brasiltelecom? e no remoteip, como ficaria?
    Após isso e ter configurado o chap-secrets e pap-secrets com usuario e senha, o que seria necessário para que o server pegasse o ip do modem? Apenas o comando pptpd? :?
    OBS: o modem ja esta configurado como pptp.

    Obrigado.

  2. #2

    Padrão Re: pptp vs pppoa

    seria necessario configurar mais alguma coisa??

  3. #3

    Padrão Re: pptp vs pppoa

    Vou postar como estao meu arquivos para configuraçao do pptp:

    /etc/pptpd.conf -> so alterei as duas ultimas linhas
    ################################################################################
    #
    # Sample PoPToP configuration file
    #
    # for PoPToP version 1.1.4-b3
    #
    ################################################################################

    # TAG: speed
    #
    # Specifies the speed for the PPP daemon to talk at.
    #
    #speed 115200

    # TAG: option
    #
    # Specifies the location of the PPP options file.
    # By default PPP looks in '/etc/ppp/options'
    #
    #option /etc/ppp/options.pptpd

    # TAG: stimeout
    #
    # Specifies timeout (in seconds) on starting ctrl connection
    #
    # stimeout 10

    # TAG: debug
    #
    # Turns on (more) debugging to syslog
    #
    #debug

    # TAG: bcrelay <if>
    #
    # Turns on broadcast relay to clients from interface <if>
    #
    #bcrelay eth1

    # TAG: localip
    # TAG: remoteip
    #
    # Specifies the local and remote IP address ranges.
    #
    # You can specify single IP addresses seperated by commas or you can
    # specify ranges, or both. For example:
    #
    # 192.168.0.234,192.168.0.245-249,192.168.0.254
    #
    # IMPORTANT RESTRICTIONS:
    #
    # 1. No spaces are permitted between commas or within addresses.
    #
    # 2. If you give more IP addresses than MAX_CONNECTIONS, it will
    # start at the beginning of the list and go until it gets
    # MAX_CONNECTIONS IPs. Others will be ignored.
    #
    # 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
    # you must type 234-238 if you mean this.
    #
    # 4. If you give a single localIP, that's ok - all local IPs will
    # be set to the given one. You MUST still give at least one remote
    # IP for each simultaneous client.
    #
    #localip 192.168.0.1
    #remoteip 192.168.0.234-238,192.168.0.245
    # or
    #localip 192.168.0.234-238,192.168.0.245
    #remoteip 192.168.1.234-238,192.168.1.245
    localip 192.168.0.60
    remoteip 192.168.0.200
    /etc/ppp/options.pptpd -> esta default
    #***********************************************************************
    #
    # options.pptpd
    #
    # Configuration file for pptpd. Edit settings in this file according to
    # your desired needs for your pptp clients.
    #
    # NOTE: make sure that /etc/pptpd.conf refers to this file.
    #
    # Copyright (C) 2003 Trustix AS
    # License: GPL
    #***********************************************************************
    name *
    lock
    mtu 1490
    mru 1490
    proxyarp
    auth
    +chap
    #+chapms #This one is optional and my be omitted.
    +chapms-v2
    ipcp-accept-local
    ipcp-accept-remote
    lcp-echo-failure 3
    lcp-echo-interval 5
    #deflate 0
    mppe-128
    #mppe-40
    mppe-stateless
    #nodeflate
    #nobsdcomp
    /etc/ppp/pap-secrets
    # Secrets for authentication using PAP
    # client server secret IP addresses
    "user_fornecido_pelaBRT" * "senha"
    /etc/ppp/chap-secrets
    # Secrets for authentication using PAP
    # client server secret IP addresses
    "user_fornecido_pelaBRT" * "senha"
    Depois de ter configurado esses arquivos, dou o comando pptpd 10.0.0.138 e nada de pegar o ip.
    Alguem pode dar uma força??

  4. #4

    Padrão Re: pptp vs pppoa

    alguem pode ajudar? sera que ninguem no forum nunca precisou utilizar o pptp? :|

  5. #5
    supremainfo
    Visitante

    Padrão Re: pptp vs pppoa

    brother
    eu tenho isto feito aki,

    e funfa legal.

    o seguinte

    no caso do pptp, vc precisa ativar a conexão com o comando
    #pptp numerodoipdomodem

    caso vc utilize a conexão pppoa no modem ficará o ip valido, com isto vc precisará
    redirecionar todas as portas do modem para o ip do teu servidor, ou ativar DMZ.


    leandro
    [email protected]