Skip to main content
You are here: Setup Guides

PortForwarding

Overview

Learn to install and use the port utility for forwarding ports due to a lack of IPv4 addresses.

Installation

Update Packages

Update your system's package lists with the command: apt update

Install Git

Install Git using this command: apt install git -y

Clone Repository

Clone the repository: git clone https://github.com/steeldev0/port

Make Executable

Make the script executable: chmod +x port/port

Move Script

Move the script to /bin: mv port/port /bin

Clean Up

You can remove the downloaded files: rm -rf ~/port

Usage

Adding a Port Forward

Add a port forward (e.g., 8080): port add 8080