Comments (4)
后面会加上这个功能。
我写了个粗糙的 demo,跑 wireguard 是没有问题的。
因为 UDP 是无连接的,端口重用会混跑 STUN 协议和另外一个协议。
考虑到这点,我会把功能实现稳定下来之后,加到 Natter 里面。
from natter.
我用v0.9确实可以打开udp端口, 但是如果先打开wireguard在运行natter ,会提示:
OSError: [WinError 10048] 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
反之也是一样,wireguard报错无法使用同端口
而TCP却是可以同时运行natter和应用程序使用相同端口的,这个可以解决吗?
from natter.
我用v0.9确实可以打开udp端口, 但是如果先打开wireguard在运行natter ,会提示: OSError: [WinError 10048] 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 反之也是一样,wireguard报错无法使用同端口 而TCP却是可以同时运行natter和应用程序使用相同端口的,这个可以解决吗?
这个其实与 Windows 的 socket 特性有关,建议使用转发
from natter.
目前最新 v2 版本已经正式支持 UDP,使用方法为 -u
选项。
如果遇到新的问题欢迎提新的 issue。
from natter.
Related Issues (20)
- Windows 下 python 通知脚本无法调用 HOT 1
- docker版本使用 -m iptables好像有权限问题 HOT 3
- V2版链接无法保持,多次会断开重新打洞 HOT 4
- 【群晖】iptables报错,不认识 -m comment --comment NATTER_UUID=44dd0b25-3284-4d10-b9a2-001aff022804 HOT 4
- 使用 nattertool/natter:alpine 镜像,-m iptables 实际修改变为 nftables
- ufw阻止natter.py打洞 HOT 3
- CentOS 下使用 Docker,启动时出现 socket.gaierror HOT 4
- [Notice] 相关讨论已迁移至 Discussions 板块
- 内核模式启动失败 HOT 2
- Nginx-Cloudflare示例运行失败 HOT 6
- 关于Nginx-Cloudflare配置参数求解 HOT 1
- 用cf-redir.py文件调用后报python3\r不知道哪里的问题 HOT 1
- 使用UDP协议遇到问题 HOT 4
- the port is supposedly open but it is not possible to log in. HOT 2
- A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself. HOT 12
- 当 UPnP 扫描到的 URL 不含路径时,出现 ValueError HOT 1
- UPnP 服务端返回错误时,Natter 不能正常打印错误日志 HOT 1
- RouterOS 下 UPnP 不能正常工作 HOT 2
- Invalid format for X-Auth-Key header HOT 2
- uPnP无法使用 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natter.