# 网上邻居(2n2n)

{% hint style="success" %}
现在已发布 3.0 版本，可加入 [用户群](https://jq.qq.com/?_wv=1027\&k=A9YzWvbS) 下载体验。
{% endhint %}

{% code title="n2n.sln" %}

```csharp
Software software = new Software();
software.Name = "网上邻居";
software.ProjectID = "2n2n";
software.Release = "https://nullcraft.org/d/39";
software.ReleaseDate = DateTime.Parse("2021,10,14").ToString();
software.Language = new string[] { "简体中文" };
software.Program = "C#";
software.Framework = ".NET8";

NullCraftSoftwareList.add(software);

Console.WriteLine(NullCraftSoftwareList.Items.Conut());

>>> 13
```

{% endcode %}

## 关于《网上邻居》

### 下载《网上邻居》

{% embed url="<https://nullcraft.org/d/39>" fullWidth="false" %}
访问灵工艺社区进行下载
{% endembed %}

## 软件介绍

### 什么是 n2n?

这个软件就是由 [ntop](https://github.com/ntop/n2n) 创建的项目，可以通过 p2p 技术来对两个或多个异地的互联网打洞成为一个一个虚拟网段下实现的组网。

### 什么是 网上邻居(2n2n)？

灵工艺网上邻居(2n2n 是 NullCraft n2n 的简写)，是以 n2n 围绕开发的一款 GUI 的 n2n 可视化配置管理工具，比起在 Windows 上使用命令行更方便、对小白更友好。同时还能快速配置与管理。

{% hint style="info" %}
网上邻居这个名字难道不是很贴切吗 ( ͡• ͜ʖ ͡• )
{% endhint %}

**其中开发提供:**

* 2n2n edge 可视化 GUI 即 Client(客户端)
* 2n2n supernode 可视化 GUI 即 Server(服务端)

### 为什么制作此工具?

为了方便实现计算机与计算机之间在互联网下的局域网组网，可以延申多种使用场景，像最简单的局域网联机游戏。

### 有什么优势?

如果对称组网成功，那么你将会获得一个非常友好的网络环境，通常在这里使用游戏联机延迟不会很高。

### 我需要有什么?

如果双方网络环境都很好，只需要一台小水管带宽(1m)的服务器作为打洞握手的超级节点即可。这成本基本可以忽略不计，不需要多少性能，也不需要多少内存。 因此你可以随便去找价格最低配置最差的一台小服务器就能实现低延迟组网。

### 为什么需要节点?你不能提供吗?

n2n组网是需要使用中间人超级节点(supernode)的，我暂时不会提供公益的超级节点，因为灵工艺一直在一非常低的预算进行正常活动。我们会减少一些不必要的支出。

{% hint style="info" %}
如果你想要赞助节点/资金，那么也非常欢迎，你可以到 [用户群](https://jq.qq.com/?_wv=1027\&k=A9YzWvbS) 内联系@快辰或通过 [捐助支持](https://docs.nullcraft.org/donate) 进行赞助。&#x20;

因此有公益节点后，将会在此提供公益档案的分享。
{% endhint %}

### 快速上手

{% content-ref url="2n2n/tutorial" %}
[tutorial](https://docs.nullcraft.org/software/2n2n/tutorial)
{% endcontent-ref %}

### 查看更新日志

{% content-ref url="2n2n/update" %}
[update](https://docs.nullcraft.org/software/2n2n/update)
{% endcontent-ref %}

### 软件图片

<figure><img src="https://3120800205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw0VwoV0yDZshBzmKvNc%2Fuploads%2F4KX4YAiEGvWsFqdzMf3V%2Fmain.png?alt=media&#x26;token=5655b85a-9a02-43ad-af25-af82afaacb7b" alt=""><figcaption><p>网上邻居(2n2n) - 主界面</p></figcaption></figure>

<figure><img src="https://3120800205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw0VwoV0yDZshBzmKvNc%2Fuploads%2FoyBxUopUtXGsLoO8XuZ9%2Fnode.png?alt=media&#x26;token=c3278db1-1f7a-4274-bad5-bd6cfea61baf" alt=""><figcaption><p>网上邻居(2n2n) - 节点管理</p></figcaption></figure>

<figure><img src="https://3120800205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw0VwoV0yDZshBzmKvNc%2Fuploads%2FqndSlAiffA3yskHURvvN%2Flog.png?alt=media&#x26;token=46a55843-ad82-40fd-afa0-178a6f45249a" alt=""><figcaption><p>网上邻居(2n2n) - 查看日志</p></figcaption></figure>

<figure><img src="https://3120800205-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw0VwoV0yDZshBzmKvNc%2Fuploads%2F5aLZGSltbR9yV2DgyRM5%2Fsupernode.png?alt=media&#x26;token=5e7e0648-6e21-4622-b9b2-a44e0a0a63c9" alt=""><figcaption><p>网上邻居(2n2n) - 超级节点</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nullcraft.org/software/2n2n.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
