ubuntu13 l2tp安裝

來源:互聯網
上載者:User

ubuntu13 l2tp安裝 1. 添加PPA sudo apt-add-repository ppa:seriy-pr/network-manager-l2tp 2. 重新整理軟體包緩衝 sudo apt-get update 3. 安裝network-manager-l2tp sudo apt-get install network-manager-l2tp-gnome 安裝完之後不要忘記運行以下命令 sudo service xl2tpd stop sudo update-rc.d xl2tpd disable 2. 配置xl2tpd.conf 檔案地址: /etc/xl2tpd/xl2tpd.conf 修改設定檔的第一件事,備份原有檔案,原始的xl2tpd.conf裡面有[lns default],這個好像是用來將xl2tpd當做l2tpd伺服器的關鍵語句。 要將xl2tpd作為l2tp的client話,我把xl2tpd.conf裡面的所有東西都刪掉了,加入了下面幾行 [lac testvpn]name = l2tp_user_name                                  ; l2tp帳號lns = 192.168.11.1                                           ; l2tp server的IPpppoptfile = /etc/ppp/peers/testvpn.l2tpd         ; pppd撥號時使用的設定檔(自己猜測是這個解釋,不知道對不對)ppp debug = yes 3. 設定撥號設定檔: 檔案路徑:xl2tpd.conf檔案中pppoptfile =/etc/ppp/peers/testvpn.l2tpd 檔案內容如下,沒有去研究每行是什麼意思,先能用了再說remotename testvpnuser "l2tp_user_name"password "l2tp_user_password"unit 0locknodeflatenobsdcompnoauthpersistnopcompnoaccompmaxfail 5debug

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.