Zyx0rx

Zyx0rx / port-forward

Public

A multi-backend Linux port forwarding management script with interactive and CLI modes.

17
6
100% credibility
Found Apr 25, 2026 at 17 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Shell
AI Summary

A management script for Linux servers that simplifies creating, viewing, and maintaining port forwards using various reliable methods via interactive menus or simple commands.

How It Works

1
🔍 Find the port forwarding helper

You discover this handy tool on GitHub that makes it super easy to redirect traffic from one port on your server to another machine.

2
📥 Get the script ready

You download the script to your Linux server and make it ready to run with a simple permission tweak.

3
Pick your setup style
📋
Friendly menu

Follow the on-screen choices to pick options and set things up without typing much.

⌨️
Quick command

Type a simple instruction telling it what port to forward and where to send the traffic.

4
🔗 Create your first forward

You tell it the local port and the target machine's details, and it sets up the connection smoothly.

5
📊 Check it's working

You list your forwards, peek at traffic stats, and confirm everything is flowing as expected.

6
🔄 Make it permanent

You enable auto-start so your forwards come back online every time your server restarts.

Traffic flows freely

Now your services connect seamlessly across machines, saving you time and hassle forever.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 17 to 17 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is port-forward?

Port-forward is a Shell script that manages port forwarding on Linux servers using backends like iptables, nftables, HAProxy, socat, gost, realm, rinetd, and nginx stream. It solves the hassle of juggling multiple tools for TCP/UDP forwarding—whether for SSH tunnels, game servers, or cloud proxies—by offering interactive menus for manual setup and CLI commands like `port_forward.sh -m nft 3389:1.2.3.4:3389` for quick rules. Users get persistence across reboots, traffic stats, and import/export in one lightweight package.

Why is it gaining traction?

It stands out as a port forward tool on GitHub by unifying eight backends with auto-dependency installs, IPv6 support, and failover for multi-target setups, unlike single-tool alternatives. Devs love the dual interactive/CLI modes for both ad-hoc tweaks and automation, plus systemd integration for reliable restarts. Features like rule listing (`-l`), deletion (`-d`), and quiet mode (`-q`) make it script-friendly for port forwarding Linux workflows.

Who should use this?

DevOps engineers proxying services across cloud VMs or handling port forwarding SSH/VPN on routers like Fritzbox, Mikrotik, OPNsense, Unifi, or Starlink. Sysadmins needing kubectl port-forward GitHub alternatives for non-Kubernetes Linux boxes, or quick forwards for RDP/web panels. It's ideal for home labbers scripting port-forwarding without Windows port forward GitHub hacks.

Verdict

Grab it for everyday Linux port forwarding if you need flexibility—docs are thorough, covering edge cases like UDP and reboots. With 17 stars and 1.0% credibility, it's early-stage but battle-tested for real use; test on non-prod first.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.