PinkD / corplink-rs

使用 rust 实现的飞连客户端
GNU General Public License v2.0
194 stars 26 forks source link

正常启动以后无法访问 #28

Closed fuergaosi233 closed 4 months ago

fuergaosi233 commented 4 months ago

日志

[2024-02-24T17:11:03Z INFO corplink_rs] route: [....] [2024-02-24T17:11:03Z INFO corplink_rs] dns: 10.8.8.18 [2024-02-24T17:11:03Z INFO corplink_rs] protocol: 0 [2024-02-24T17:11:03Z INFO corplink_rs::wg] send config to uapi [2024-02-24T17:11:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:12:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:13:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:14:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:15:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:16:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:17:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:18:03Z INFO corplink_rs::client] keep alive [2024-02-24T17:19:03Z INFO corplink_rs::client] keep alive

Ping

ping 10.8.8.18
$ ping 10.8.8.18
PING 10.8.8.18 (10.8.8.18): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 10.8.8.18 ping statistics ---

ifconfig

utun18: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
    inet 10.5.68.201 --> 0.0.0.0 netmask 0xff000000
    nd6 options=201<PERFORMNUD,DAD>

在登录以后, 也创建 tun 成功以后, 仍然无法访问相关的 IP

fuergaosi233 commented 4 months ago

开启 Debug 以后

DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 peer(8P99…Ut2U) - UAPI: Adding allowedip
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:54 MTU updated: 1280
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:55 peer(8P99…Ut2U) - Starting
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:55 peer(8P99…Ut2U) - Sending keepalive packet
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:55 peer(8P99…Ut2U) - Sending handshake initiation
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:55 peer(8P99…Ut2U) - Routine: sequential sender - started
DEBUG: wg-corplink(utun18) 2024/02/25 02:34:55 peer(8P99…Ut2U) - Routine: sequential receiver - started
[2024-02-24T18:34:55Z INFO  corplink_rs::client] keep alive
DEBUG: wg-corplink(utun18) 2024/02/25 02:35:00 peer(8P99…Ut2U) - Handshake did not complete after 5 seconds, retrying (try 2)
DEBUG: wg-corplink(utun18) 2024/02/25 02:35:00 peer(8P99…Ut2U) - Sending handshake initiation
DEBUG: wg-corplink(utun18) 2024/02/25 02:35:05 peer(8P99…Ut2U) - Handshake did not complete after 5 seconds, retrying (try 2)
DEBUG: wg-corplink(utun18) 2024/02/25 02:35:05 peer(8P99…Ut2U) - Sending handshake initiation
PinkD commented 4 months ago

dup #27