• Stars
    star
    145
  • Rank 252,893 (Top 5 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 1 year ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

qBittorrent NAT Hole Punching/qBittorrent NAT 打洞

qBittorrent NAT TCP Hole Punching

中文

Use Natter/NATMap to perform TCP hole punching under Full Cone NAT, making qBittorrent for a public IPv4-like experience.

Requirement

  • Full Cone NAT.

  • The device running the script is only under one layer of NAT. If you run the script on other devices on the subnet, you can enable DMZ on the router.

  • qBittorrent is installed on the device running the script. If this condition is not met, you can manually modify the iptables port forwarding part of the script.

Usage

  1. Download the update.sh script.

  2. You can use Natter or NATMap as hole punching program. Take NATMap as an example, download the NATMap binary file and put it in the same directory as update.sh.

  3. Edit update.sh:

    • private_port: Natter fills in $3/NATMap fills in $4
    • public_port: Natter fills in $5/NATMap fills in $2
    • qb_web_port: The port of qBittorrent web service, usually 8080
    • qb_username: username
    • qb_password: password
  4. Take NATMap as an example, run sudo ./natmap -s stunserver.stunprotocol.org -h bing.com -b 45678 -e ./update.sh.

    Among them, stunserver.stunprotocol.org is the STUN server address, and bing.com is the public network HTTP server address, which is used to maintain the NAT mapping relationship and generally does not need to be modified. 45678 is any locally available port.

Thanks

More Repositories

1

ZJU-Rule

ZJU Clash 分流规则
309
star
2

zju-connect

ZJU RVPN 客户端的 Go 语言实现
Go
223
star
3

ZJU-Connect-for-Windows

基于 Qt 编写的 ZJU 网络客户端
C++
185
star
4

iOSFakeRun

基于虚拟定位的 iOS 免越狱模拟跑步打卡,在线拾取路径,可设置循环次数和跑步速度
C#
157
star
5

qq-nt-db

QQ NT Windows 数据库解密+图片/文件清理
Python
20
star
6

transmission-to-qbittorrent

从 Transmission 向 qBittorrent 转移种子 | Transfer torrents from Transmission to qBittorrent.
Python
16
star
7

MicroPython-ESP32-S3-N16R8

MicroPython firmware for ESP32-S3 N16R8.
C
13
star
8

fxKeyboard

Use fx-9860 series calculator as a keyboard for computer.
C++
12
star
9

jd-price-check

JD 京东商品价格、优惠监控,并使用微信推送
Python
11
star
10

STM32H743-CMake-Template

STM32H7 + ILI9341 + FreeRTOS + LVGL + FatFs
C
5
star
11

zju-web-login

Web login script for ZJU net / ZJU 网络网页认证登录脚本
Python
5
star
12

SoftSPI_HAL_Lib

A soft SPI library for STM32 HAL.
C
4
star
13

websocket-via-webvpn

通过浙大 Web VPN 访问内网中的 WebSocket 服务
Go
4
star
14

ZJUConnectForAndroid

Java
4
star
15

AkashicQQ

基于 NoneBot 框架的 Minecraft QQ 机器人,支持服务器进出提醒、QQ 群聊天、成就广播等多种功能
Python
4
star
16

DeveloperDiskImage

3
star
17

myth.cx

Myth's blog powered by Hugo.
SCSS
3
star
18

QQBilibiliLiveChecker

检查指定的多个 B 站直播间是否开播,并通过 Mirai HTTP API 向指定 QQ 群内发送提醒
Python
3
star
19

ZJU-JiaoWu

浙江大学教务网爬虫
Python
2
star
20

ROS-RRT-Star-DWA

2022 summer course.
Python
2
star
21

WeChatPusher

企业微信应用消息推送
Python
2
star
22

transmission-skip-verify

Tranmission 无重启跳过检测验证 | Python script to help you skip verifying torrents in Transmission without restarting.
Python
2
star
23

Prism

Prism is a tool to launch and handle every kind of Minecraft Server (Vanilla/Spigot/Forge/Fabric), provide APIs and Webhooks.
Python
2
star
24

Take-out-Customer-Service-Robot

Take-out Customer Service QQ Robot 外卖客服 QQ 机器人
Python
1
star
25

insight

Plugin for Akashic Minecraft Server.
Java
1
star
26

ZJUI-Arm-Kinematics

ZJUI 机械臂正逆运动学
Mathematica
1
star
27

Cpp-Works

C++ works in ZJU OOP course opened by College of Control Science and Engineering
C++
1
star
28

ProgKiller

Help you stop certain programs and concentrate on your working.
C
1
star