Comments (3)
请阅读文档:
https://github.com/MikeWang000000/Natter/blob/master/natter-docker/README.md
参考 “使用 iptables 内核转发” 部分,再尝试报错是否消失?
from natter.
您好,我按照您的文档使用了--cap-add=NET_ADMIN --cap-add=NET_RAW 这两个参数启动docker,但好像还是启动不起来。
我补充一下运行这个命令的设备,是在x86 esxi虚拟机群晖的docker里运行的,启动的方式是群晖ssh使用docker命令启动,创建并启动docker容器命令:docker run -d -v /volume1/docker/natter:/opt2 --restart=always --net=host --cap-add=NET_ADMIN --cap-add=NET_RAW --name natter_qb nattertool/natter -m iptables -k 5 -e /opt2/qb.sh
报错如下:
2024-02-01 18:10:37 [I] Natter v2.0.0-rc1
Warning: Extension comment revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
subprocess.CalledProcessError: Command '['iptables', '-w', '-t', 'nat', '-I', 'NATTER', '-p', 'tcp', '--dst', '192.168.1.26', '--dport', '32852', '-j', 'DNAT', '--to-destination', '192.168.1.26:48205', '-m', 'comment', '--comment', 'NATTER_UUID=6ae376e8-b404-4801-ad8d-fa086c29e427']' returned non-zero exit status 1.
2024-02-01 18:11:07 [I] Natter v2.0.0-rc1
Warning: Extension comment revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
subprocess.CalledProcessError: Command '['iptables', '-w', '-t', 'nat', '-I', 'NATTER', '-p', 'tcp', '--dst', '192.168.1.26', '--dport', '38543', '-j', 'DNAT', '--to-destination', '192.168.1.26:48357', '-m', 'comment', '--comment', 'NATTER_UUID=7b1fed1d-12c4-4f9a-84b8-bf035a9693b2']' returned non-zero exit status 1.
2024-02-01 18:12:03 [I] Natter v2.0.0-rc1
Warning: Extension comment revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
subprocess.CalledProcessError: Command '['iptables', '-w', '-t', 'nat', '-I', 'NATTER', '-p', 'tcp', '--dst', '192.168.1.26', '--dport', '39190', '-j', 'DNAT', '--to-destination', '192.168.1.26:48208', '-m', 'comment', '--comment', 'NATTER_UUID=af59bbaf-1ffe-4ee7-8c9e-f6b0a1669aba']' returned non-zero exit status 1.
2024-02-01 18:13:08 [I] Natter v2.0.0-rc1
Warning: Extension comment revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
subprocess.CalledProcessError: Command '['iptables', '-w', '-t', 'nat', '-I', 'NATTER', '-p', 'tcp', '--dst', '192.168.1.26', '--dport', '39586', '-j', 'DNAT', '--to-destination', '192.168.1.26:48328', '-m', 'comment', '--comment', 'NATTER_UUID=884300f3-c7fe-4ecb-bc9f-64ce34879106']' returned non-zero exit status 1.
from natter.
问题解决了,群晖自带的iptables是阉割版,要安装系统缺失的一些iptables模块就好了。
from natter.
Related Issues (20)
- Windows 下 python 通知脚本无法调用 HOT 1
- 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.