iKuai爱快流控路由

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 363|回复: 9
打印 上一主题 下一主题

openvpn 拨号失败,日志如下,麻烦官方看看

[复制链接]
跳转到指定楼层
楼主
发表于 2023-3-8 21:56:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 felixsun 于 2023-3-8 22:09 编辑

地址已经屏蔽

2023 Mar 8 Wed 21:45:30
OpenVPN 2.4.7 x86_64-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]

2023 Mar 8 Wed 21:45:30
library versions: OpenSSL 1.0.2u 20 Dec 2019, LZO 2.10

2023 Mar 8 Wed 21:45:30
WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.

2023 Mar 8 Wed 21:45:30
NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2023 Mar 8 Wed 21:45:30
WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1400)

2023 Mar 8 Wed 21:45:30
TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:443

2023 Mar 8 Wed 21:45:30
Attempting to establish TCP connection with [AF_INET]xxx.xxx.xxx.xxx:443 [nonblock]

2023 Mar 8 Wed 21:45:31
TCP connection established with [AF_INET]xxx.xxx.xxx.xxx:443

2023 Mar 8 Wed 21:45:31
TCP_CLIENT link local: (not bound)

2023 Mar 8 Wed 21:45:31
TCP_CLIENT link remote: [AF_INET]xxx.xxx.xxx.xxx:443

2023 Mar 8 Wed 21:45:31
WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

2023 Mar 8 Wed 21:45:31
WARNING: \\'link-mtu\\' is used inconsistently, local=\\'link-mtu 1444\\', remote=\\'link-mtu 1528\\'

2023 Mar 8 Wed 21:45:31
WARNING: \\'tun-mtu\\' is used inconsistently, local=\\'tun-mtu 1400\\', remote=\\'tun-mtu 1500\\'

2023 Mar 8 Wed 21:45:31
WARNING: \\'cipher\\' is used inconsistently, local=\\'cipher BF-CBC\\', remote=\\'cipher [null-cipher]\\'

2023 Mar 8 Wed 21:45:31
WARNING: \\'keysize\\' is used inconsistently, local=\\'keysize 128\\', remote=\\'keysize 0\\'

2023 Mar 8 Wed 21:45:31
[server] Peer Connection Initiated with [AF_INET]xxx.xxx.xxx.xxx:xxx

2023 Mar 8 Wed 21:45:33
TUN/TAP device ovpn1 opened

2023 Mar 8 Wed 21:45:33
/sbin/ifconfig ovpn1 xxx.xxx.xxx.xxx netmask 255.255.252.0 mtu 1400 broadcast xxx.xxx.xxx.xxx

2023 Mar 8 Wed 21:45:33
/sbin/ifconfig ovpn1 add xxxx:xxxx:xxxx:xxxx:xxxx::xxxx/80 ifconfig: bad address \\'add\\'

2023 Mar 8 Wed 21:45:33
Linux ifconfig inet6 failed: external program exited with error status: 1

2023 Mar 8 Wed 21:45:33
Exiting due to fatal error
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
沙发
 楼主| 发表于 2023-3-8 21:57:48 | 只看该作者
关键应该是这,
2023 Mar 8 Wed 21:45:33
/sbin/ifconfig ovpn1 add xxxx:xxxx:xxxx:xxxx:xxxx::xxxx/80 ifconfig: bad address \\'add\\'
板凳
 楼主| 发表于 2023-3-8 22:00:06 | 只看该作者
添加下面的参数可以拨号成功,但网络不通(必然的)
–ifconfig-noexec : 并不执行ifconfig/netsh命令, 而是通过环境(变量)将–ifconfig的参数传递给脚本.
地板
 楼主| 发表于 2023-3-8 22:01:08 | 只看该作者
加下面参数可以拨号成功,但网络必然不同
–ifconfig-noexec : 并不执行ifconfig/netsh命令, 而是通过环境(变量)将–ifconfig的参数传递给脚本.
5#
 楼主| 发表于 2023-3-11 18:06:36 | 只看该作者
顶一下,希望官方回复
6#
发表于 2023-3-11 18:13:28 | 只看该作者
MTU  设置为1500  试试呢    我的也这样    改1500好的
7#
 楼主| 发表于 2023-3-13 11:23:35 | 只看该作者
姚小缺 发表于 2023-3-11 18:13
MTU  设置为1500  试试呢    我的也这样    改1500好的

试了, 错误信息没变, 感觉是ifconfig支持不完整造成的,
8#
发表于 2023-3-13 15:55:27 | 只看该作者
felixsun 发表于 2023-3-13 11:23
试了, 错误信息没变, 感觉是ifconfig支持不完整造成的,

这我也不知道了    我是从PPPOE切换到混合模式报错   改了就好了
9#
发表于 2023-3-13 18:42:48 | 只看该作者
别开IPV6。 错误信息是IPV6的配置导致的。
10#
 楼主| 发表于 2023-3-18 21:32:51 | 只看该作者
xionghp 发表于 2023-3-13 18:42
别开IPV6。 错误信息是IPV6的配置导致的。

这个ipv6是校方服务器下发的, 作为客户无法关闭,希望爱快能兼容或提供忽略ipv6发方法
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|论坛规章制度|iKuai Inc. ( 京ICP备13042604号 )

GMT+8, 2024-4-20 06:52

Powered by Discuz! X3.3

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表