OpenVPN client 使用问题

发布时间: 更新时间: 总字数:197 阅读时间:1m 作者:IP:上海 网址
专栏文章
  1. alpine 部署 v2ray 服务
  2. Clash 使用
  3. Hysteria 2 介绍
  4. Mitmproxy HTTPS 代理工具
  5. WireGuard VPN 安装和使用
  6. Inode VPN 使用
  7. V2ray 介绍
  8. Shadowsocks Python版一键安装脚本
  9. OpenVPN client 使用问题(当前)
  10. OpenVPN server 配置文件详细说明
  11. CentOS 6/7 安装配置 OpenVPN Server
  12. CentOS 架设PPTP VPN服务教程

windows 使用 openvpn 获取地址为 169.254.0.0 地址问题,Multiple TAP-Windows adapters 问题。

openvpn 获取 169.254.0.0 地址问题

错误日志

TAP-Windows Adapter V9 #2
  Index = 26
  GUID = {9C49116C-F310-4DC6-9A55-B9FF7335AAE1}
  IP = 169.254.122.83/255.255.0.0
  MAC = 00:ff:9c:49:11:6c
  GATEWAY = 0.0.0.0/255.255.255.255
  DHCP SERV =
  DHCP LEASE OBTAINED = Mon Oct 24 19:17:25 2016
  DHCP LEASE EXPIRES  = Mon Oct 24 19:17:25 2016
  DNS SERV =

原因

windows 系统的 dhcp client 服务未开启导致该问题。

Multiple TAP-Windows adapters

Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node
Exiting due to fatal error

That one can happen when you have multiple TAP-Windows adapters, most of the time because of another software using TAP.

To fix it, open a command prompt (Shift+Right click) in your OpenVPN directory (where openvpn.exe is), and run:

openvpn.exe --show-adapters

This will list your TAP adapters.

Then, open your ccrypto.ovpn configuration file with notepad and add this on a new line:

dev-node [name]

Replace [name] by your TAP adapter name.