GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sir-MmD/NATPass: NAT Traversal with Xray-Core

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
pics
pics
 
 
README.md
README.md
 
 
natpass.go
natpass.go
 
 

Repository files navigation

NATPass

NAT Traversal with Xray-Core

App Screenshot

What is NATPass ?

NATPass is a NAT Traversal tool that uses Xray-Core's Reverse Tunnel feature to bypass NAT limitation on a system.

It supports both TCP and UDP

Usage

  app [OPTIONS]

  -s, --server        Run in server mode
  -c, --client        Run in client mode
  -h, --host <host>   Specify the host (required for both modes)
  -p, --port <port>   Specify the port (1-65535)
  -b, --bind <port>   Specify the bind port (1-65535)
  -t, --token <token> Specify the authentication token
  -l, --log <level>   Specify the log level (none, debug, info, warning, error). Default is warning.
      --help          Show this help message

Donate

🔹USDT-TRC20: TEUsjU22rAb3TZNaecEBJAhZXQsFZYU7vv

🔹TRX: TEUsjU22rAb3TZNaecEBJAhZXQsFZYU7vv

🔹LTC: LS7rJ6nMWwgw9FWpMjSnYa1bAPdzK7bJLM

🔹BTC: 1D4cSHY95FoHExSicKYmjeVzdLLxhjTTqs

🔹ETH: 0x03fde84612e0d572db7a18efeeec590ad3fa5dfb

Supported OS

OS CPU Type ROOT Required
App Screenshot
Windows
AMD64 NO
App Screenshot
Linux
AMD64 / ARM64 NO
App Screenshot
Android
ARM64 NO

Diagram

App Screenshot

Bridge Server Example

./natpass -s -h 0.0.0.0 -p 9090 -b 9191 -t MySecurePassword

-h:

Listening ip addresses

-p:

Listening port for Reverse Tunnel

-b:

Exposed port to access System Behind NAT

-t:

A secure password

Client Example (System behind NAT)

./natpass -c -h SERVER_IP -p 9090 -b 80 -t MySecurePassword

-h:

Public IP address of Bridge Server

-p:

Same port entered on Bridge Server

-b:

Desired port to expose

-t:

Same secure password entered on Bridge Server

Log

By default, NATPass uses "none" as log level but you can change it with "-l switch to:

  • debug
  • info
  • warning
  • error

Tunnel Tweaking

By default, NATPass uses "VLESS + WS" as for the Reverse Tunnel, You can modify it to your desired protocol and transport inside assets/server.json.sample and assets/client.json.sample

Build

git clone https://github.com/Sir-MmD/NATPass && cd NATPass
go build natpass.go

After compilation, you need to download Xray-Core and extract it inside assets folder: https://github.com/XTLS/Xray-core

About

NAT Traversal with Xray-Core

Topics

natnat-traversalnatpassnattraversalreversereverse-proxyreverse-tunnelxrayxray-core

Resources

Readme
Activity

Stars

11 stars

Watchers

1 watching

Forks

7 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.