Giter Site home page Giter Site logo

打洞失败 about natter HOT 6 CLOSED

yinengbei avatar yinengbei commented on August 25, 2024
打洞失败

from natter.

Comments (6)

MikeWang000000 avatar MikeWang000000 commented on August 25, 2024 1

怎么判断运营商的网络是NAT几啊?

我现在是用一个小主机n100,4口的,安装了pve,然后在pve里安装了爱快做主路由,爱快设置网络类型是NAT1,这样可以吗?

这样是必须在爱快里面跑虚拟机然后跑docker吗?

在pve的其它虚拟机跑docker测试一直是失败:

你虚拟机的当前网络是 NAT 3,达不到要求。
另外,非运营商的路由器系统,NAT 1 基本上只实现了 UDP,所以在家用路由器后面得通过 DMZ 或者特定的端口转发来规避。

首先试试将 DMZ 主机设置为你的 PVE 虚拟机 IP。

from natter.

MikeWang000000 avatar MikeWang000000 commented on August 25, 2024

请先检查网络类型:https://github.com/MikeWang000000/Natter/tree/master/natter-check

from natter.

yinengbei avatar yinengbei commented on August 25, 2024

请先检查网络类型:https://github.com/MikeWang000000/Natter/tree/master/natter-check

Checking TCP NAT... [ FAIL ] ... NAT Type: 3
Checking UDP NAT... [ FAIL ] ... NAT Type: 3

from natter.

MikeWang000000 avatar MikeWang000000 commented on August 25, 2024

NAT 3类型不支持,请尝试关闭防火墙,使用桥接/DMZ等手段提升至NAT 1。
如果运营商提供的网络本身就是NAT 3,那么Natter是没有办法向公网打通端口的。

from natter.

ilaipi avatar ilaipi commented on August 25, 2024

怎么判断运营商的网络是NAT几啊?

我现在是用一个小主机n100,4口的,安装了pve,然后在pve里安装了爱快做主路由,爱快设置网络类型是NAT1,这样可以吗?

image

这样是必须在爱快里面跑虚拟机然后跑docker吗?

在pve的其它虚拟机跑docker测试一直是失败:
image

from natter.

ilaipi avatar ilaipi commented on August 25, 2024

谢谢大佬回复,这方面都不懂,我打算先用 frp 来实现了,现在还有一年的云服务器,先用着

from natter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.