/NATPoked

🗡 NATPoked - A Cross-platform Peer-To-Peer Secure NAT Traversal Toolkit | 跨平台P2P内网穿透安全传输工具

Primary LanguageKotlinOtherNOASSERTION

NATPoked: A Cross-platform Peer-To-Peer NAT Traversal Toolkit

🇨🇳 中文文档 🇨🇳

WARNING: THIS PROJECT IS STILL IN DEVELOPMENT AND CANNOT BE USED IN PRODUCTION. PLEASE WATCH and STAR IT AND WAIT A RELEASE BEFORE USING IT.

Features

It can traverse complex NAT networks such as symmetric NAT, and use Poisson sampling and Mean method to quickly predict ports, which may be the most advanced NAT traversal toolkit

Install

Linux

It is strongly to use Docker Image for the installation.

docker pull kenvix/natpoked

Build

To ensure compatibility, it should be compiled with Java11, but should run on the Java17 platform, as written in the Dockerfile.

Normal Build

git submodule update --init --recursive
chmod +x ./gradlew
./gradlew shadowJar

Docker Build

git submodule update --init --recursive
chmod +x ./DockerBuild.sh
./DockerBuild.sh