跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] WireGuard 无法连到内网的 CentOS 机器

发表于

求助各位,我在 Asus 路由器(已经刷了梅林固件)上打开了 WireGuard ,使用了默认设置

远程访问该路由器的后端及管理页面没有任何问题.

另外有两台机器,一台是安装了 openwrt ,也能访问后端及管理页面

但另外一台安装了 Centos8 的机器,不仅没办法 ssh ,连 ping 都不通。

如果从路由器的后端去 ping centos 的机器的话,是能 ping 通的。

已经试了以下方法:

1 、关闭 centos8 的防火墙
2 、检查 Centos 的 iptables 规则,未配置任何规则

请问一下,这大概是哪里出了问题。

客户端用的是 window 的 wireguard,配置也是从路由器中导出的

[Interface]
PrivateKey = PrivateKey
Address = 10.6.0.2/32
DNS = 10.6.0.1

[Peer]
PublicKey = PublicKey
AllowedIPs = 0.0.0.0/0
Endpoint = IP:PORT
PersistentKeepalive = 25

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.