zoukankan      html  css  js  c++  java
  • ubuntu 18 安装L2TP

    安装L2TP

    sudo apt-add-repository ppa:seriy-pr/network-manager-l2tp
    sudo apt-get update
    sudo apt-get install network-manager-l2tp-gnome

    sudo service xl2tpd stop
    sudo update-rc.d xl2tpd disable

    reboot

    创建L2TP连接
    重启后打开设置,找到network-VPN,新建一个VPN,选择L2TP

    将新VPN连接命名为newVPN
    将主机名或地址放在Gateway字段中。
    将用户名放在用户名字段中。
    单击“密码”字段中的图标,然后选择有关如何提供密码的首选项


    单击IPSec设置...
    单击Enable IPsec tunnel to L2TP hos
    在预共享密钥字段shared secret中输入共享密钥
    将Gateway ID字段留空。
    展开“高级选项”区域
    在Phase 1 Algorithms框中输入“3des-sha1-modp1024”
    在Phase 2 Algorithms框中输入“3des-sha1”
    选中“Enforce UDP encapsulation”复选框

    查看运行情况
    sudo tail -f /var/log/syslog

    ----------------陌上阡头,草长莺飞----------------- https://www.cnblogs.com/tyche116/
  • 相关阅读:
    fork 入门
    java 注解 @Retention @interface 元数据
    JAVA泛型简析
    http数据流 gzip解压方法分析
    gdb调试提示 Missing separate debuginfos
    Vue2.x响应式原理
    观察者模式
    优秀博客收集
    切换npm源的方式
    前端模块化之ES Module
  • 原文地址:https://www.cnblogs.com/tyche116/p/14813783.html
Copyright © 2011-2022 走看看