Feng Yu
deepin
2020-12-08 18:07 真正的报错难道不是上面的“bad ip config”?
Reply Like 0 View the author
真正的报错难道不是上面的“bad ip config”?
真正的报错难道不是上面的“bad ip config”?
试过把 nm-openvpn-service-openvpn-helper 连接到 /bin/true openvpn 程序就能成功连接并创建 tap0 设备,只是不会获取 ip 地址,然后设置界面不会显示已连接,如果手动执行 dhclient tap0 能获取 ip 并上网![[尾]](/assets/image/raccoon/[tail].gif)
我估计是因为 tap 模式和 tun 不一样,tun 服务器会 push ip,而 tap 需要客户端自己 dhclient 获取 ip,导致报 bad-ip-config
应该是 bug
红11帽buglist:
https://bugzilla.red
hat.com/show_bug.cgi?id=484831
友邦图buglist:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/297707
在设置里面(连接管理器)连接 TAP 模式的 OVPN 会出错,直接使用命令行连接 .ovpn 文件则正常。疑似调用 nm-openvpn-service-openvpn-helper 的时候会返回 exit 1 导致。