# cw1997/NATBypass

一款lcx.exe在golang下的实现, 可用于内网穿透, 建立TCP反弹隧道用以绕过防火墙入站限制等, This tool is used to establish reverse tunnel in NAT network environment, it can bypass firewall inbound restriction, support all functions of lcx.exe

Repository: https://github.com/cw1997/NATBypass
Canonical: https://ross.abutalabs.com/products/natbypass
Homepage: https://github.com/cw1997/NATBypass
Language: Go
License: Apache-2.0
License Family: permissive
Topics: computer-network, frp, lcx, network, socket, socket-programming, tcp, tcp-client, tcp-server
Last push: 2026-07-03T17:07:54+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 3241, "days_push": 61, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1140, forks 275 (observed 2026-08-28T04:03:44.466843+00:00)

## What it is
NATBypass is a Go implementation of the lcx/htran port-forwarding tool that establishes TCP reverse tunnels for NAT traversal. It supports listening, transparent proxying, and slave connection modes to expose internal network services through a public host, bypassing inbound firewall restrictions.

## Use cases
- expose an internal RDP service through a public server
- bypass firewall inbound restrictions with a reverse TCP tunnel
- forward traffic between two listening ports
- create a transparent port proxy on a local machine
- penetration testing in NAT network environments
- log forwarded TCP traffic for analysis

## When to choose
- you need a lightweight, single-binary lcx-compatible TCP tunnel
- the target host allows outbound connections but blocks inbound ones
- you want a simple Go-based alternative to frp for basic port forwarding

## When to avoid
- you need UDP forwarding (not yet supported)
- you need encrypted or authenticated tunnels
- you need a production-grade NAT traversal solution with web UI and configuration files

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: networking, proxy, security
- domain: networking, security, developer-tools
- platform: windows, cli, go
- tags: nat-traversal, port-forwarding, tcp-tunnel, reverse-tunnel, lcx, firewall-bypass, golang, linux, macos

## Member repositories
- cw1997/NATBypass (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.466843+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:29.509887+00:00, confidence not recorded.
  - readme: https://github.com/cw1997/NATBypass (fetched 2026-08-28T04:03:44.466843+00:00, sha 52ecbc23ce0a)
  - homepage: https://github.com/cw1997/NATBypass (fetched 2026-08-29T12:40:37.327034+00:00, sha 3831e19f845e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
