使用 xl2tpd 作为客户端连接到 isp 服务器时出现问题。Ubuntu 服务器 13.04

使用 xl2tpd 作为客户端连接到 isp 服务器时出现问题。Ubuntu 服务器 13.04

我按照 Google 和 ubuntu 支持页面上的指南操作,并可以获得2TPD 简介但必须满足以下条件:

1 - 必须配置 ADSL 型号并连接到 ISP

或者

2 – 桥接模式下的 ADSL 调制解调器我必须建立现有的 PPPoe 连接。

如果以上两者均未激活,则 xl2tpd 将不会触发 pppd 并连接到 ISP,因此隧道连接无法连接到 ISP 的 L2TP 服务器。

难道我做错了什么;

/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

任何帮助将不胜感激

相关内容