Eu segui os guias encontrados nas páginas de suporte do google e ubuntu e posso obter a conexão xl2tpd ativa, mas apenas nas seguintes condições:
1 - O modelo ADSL deve ser configurado e conectado ao ISP
ou
2 - Modem ADSL no modo bridge Eu preciso ter uma conexão PPPoe existente estabelecida.
Se nenhuma das opções acima estiver ativa, o xl2tpd não acionará o pppd e se conectará ao ISP e, portanto, a conexão de túnel falhará ao se conectar ao servidor L2TP do ISP.
Estou fazendo algo errado?
/etc/ppp/options.l2tpd.axxess
ipcp-accept-local
ipcp-accept-remote
refuse-eap
refuse-chap
require-pap
noccp
noauth
idle 1800
mtu 1200
mru 1200
defaultroute
usepeerdns
debug
lock
connect-delay 5000
name (name used for ppp connection)
/etc/ppp/pap-secrets
# * password
(name used for ppp connection as above) * (ppp password supplied by isp)
/etc/xl2tpd/xl2tpd.conf
[global] ; Global parameters:
auth file = /etc/xl2tpd/l2tp-secrets ; * Where our challenge secrets are
access control = yes ; * Refuse connections without IP match
debug tunnel = yes
[lac axxess]
lns = 196.30.121.50 ; * Who is our LNS?
redial = yes ; * Redial if disconnected?
redial timeout = 5 ; * Wait n seconds between redials
max redials = 5 ; * Give up after n consecutive failures
hidden bit = yes ; * User hidden AVP's?
length bit = yes ; * Use length bit in payload?
require pap = yes ; * Require PAP auth. by peer
require chap = no ; * Require CHAP auth. by peer
refuse chap = yes ; * Refuse CHAP authentication
require authentication = yes ; * Require peer to authenticate
name = BLA85003@axxess ; * Report this as our hostname
ppp debug = yes ; * Turn on PPP debugging
pppoptfile = /etc/ppp/options.l2tpd.axxess ; * ppp options file for this lac
/etc/xl2tpd/l2tp-secrets
# Secrets for authenticating l2tp tunnels
# us them secret
# * marko blah2
# zeus marko blah
# * * interop
* vzb_l2tp (*** secret supplied by isp)
^ isp server host name
Qualquer ajuda será muito apreciada