CentOS7 配置 VPN
来源:互联网 发布:java运输管理系统代码 编辑:程序博客网 时间:2024/05/19 23:11
网上已经有很多配置过程,我就不说了,我就是参照这篇文章配置的:
VPN配置过程
其中有点小问题
1、添加EPEL源时地址变了
最新的地址是:http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
2、配置完后VPN无法启动,提示 Failed to start OpenVPN Robust And Highly Flexible Tunneling Application On client
遇到这个问题,可以使用下面这个命令去检查一下,会提示具体的错误信息
openvpn /etc/openvpn/server.conf
通常是这个问题:
Fri Dec 8 14:28:30 2017 WARNING: cannot stat file ‘ta.key’: No such file or directory (errno=2)
Options error: –tls-auth fails with ‘ta.key’: No such file or directory (errno=2)
Options error: Please correct these errors.
Use –help for more information.
把/etc/openvpn/server.conf 中的 tls-auth ta.key 0 # This file is secret
并注释掉就好了
- CentOS7 配置 VPN
- Centos7一键配置vpn脚本
- centos7 配置VPN 客户端 l2tp ipsec
- IOS iphone ipad CentOS7 安装配置 StrongSwan IPsec IKEv2 VPN
- Centos7 VPN服务器
- CentOS7连接VPN.md
- centos7装vpn
- CentOS7 PPTP连接VPN
- 【Centos】centos7连接vpn
- vpn配置
- VPN配置
- vpn配置
- CentOS7搭建VPN服务器教程
- CentOS7搭建VPN(pptpd)服务器
- CentOS7架设L2TP实现VPN
- CentOS7搭建VPN服务器教程
- 阿里云CentOS7 搭建 VPN
- centOS7.0 VPN SERVER 搭建
- 批处理一 入门命令
- 资源文件路径详解(getResource)
- 《Greenplum5.0 最佳实践 》SQL 转换
- 【重磅】AlphaZero炼成最强通用棋类AI,DeepMind强化学习算法8小时完爆人类棋类游戏
- 算法的时间复杂度
- CentOS7 配置 VPN
- Android中的缓存概述
- eclipse idea 快捷键对比
- python中导入其他目录下的模块
- ionic3在ios上顶部导航栏显示不正常--据顶部有空隙条
- Caused by: java.lang.ClassNotFoundException: javax.el.ELManager
- windows 批量删除nginx 进程
- 二叉树 红黑树的理解
- java的sftp工具操作类