iKuai爱快流控路由

标题: openvpn 拨号失败,日志如下,麻烦官方看看 [打印本页]

作者: felixsun    时间: 2023-3-8 21:56
标题: openvpn 拨号失败,日志如下,麻烦官方看看
本帖最后由 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
作者: felixsun    时间: 2023-3-8 21:57
关键应该是这,
2023 Mar 8 Wed 21:45:33
/sbin/ifconfig ovpn1 add xxxx:xxxx:xxxx:xxxx:xxxx::xxxx/80 ifconfig: bad address \\'add\\'
作者: felixsun    时间: 2023-3-8 22:00
添加下面的参数可以拨号成功,但网络不通(必然的)
–ifconfig-noexec : 并不执行ifconfig/netsh命令, 而是通过环境(变量)将–ifconfig的参数传递给脚本.
作者: felixsun    时间: 2023-3-8 22:01
加下面参数可以拨号成功,但网络必然不同
–ifconfig-noexec : 并不执行ifconfig/netsh命令, 而是通过环境(变量)将–ifconfig的参数传递给脚本.
作者: felixsun    时间: 2023-3-11 18:06
顶一下,希望官方回复
作者: 姚小缺    时间: 2023-3-11 18:13
MTU  设置为1500  试试呢    我的也这样    改1500好的

作者: felixsun    时间: 2023-3-13 11:23
姚小缺 发表于 2023-3-11 18:13
MTU  设置为1500  试试呢    我的也这样    改1500好的

试了, 错误信息没变, 感觉是ifconfig支持不完整造成的,
作者: 姚小缺    时间: 2023-3-13 15:55
felixsun 发表于 2023-3-13 11:23
试了, 错误信息没变, 感觉是ifconfig支持不完整造成的,

这我也不知道了    我是从PPPOE切换到混合模式报错   改了就好了
作者: xionghp    时间: 2023-3-13 18:42
别开IPV6。 错误信息是IPV6的配置导致的。
作者: felixsun    时间: 2023-3-18 21:32
xionghp 发表于 2023-3-13 18:42
别开IPV6。 错误信息是IPV6的配置导致的。

这个ipv6是校方服务器下发的, 作为客户无法关闭,希望爱快能兼容或提供忽略ipv6发方法




欢迎光临 iKuai爱快流控路由 (https://bbs.ikuai8.com/) Powered by Discuz! X3.3