跳转到内容
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] 问个问题, wireguard 组网成功后,如何设置通过域名互相访问指定设备?

发表于

我目前通过一台有公网的云服务器 A ,将家里的设备(B )和其他设备 C 组网成功。能够在其他设备 C 上,通过 A 和 B 访问家里的 NAS 。通过 ip 互相访问没发现什么问题。

但是,当我通过域名(nas.example.com)访问 NAS 时,无法成功访问 NAS 。这个 nas.example.com 的域名是指向家里的内网地址 192.168.10.10 的(已注册在 dnspod )。也就是我在目前的组网条件下,wireguard 组网的设备上,能够通过 192.168.10.10 访问 nas ,但无法通过 nas.example.com 访问 nas 。

ABC 三台设备上通过 nslookup 查询域名能够得到期望的局域网 ip(192.168.10.10)。在 ABC 上的 wireguard 配置上尝试使用系统 dns 和 223.5.5.5 都没法解决 通过域名无法访问 nas 的问题。

这个是哪里的问题,或者该怎么继续排查呢?

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.