> For the complete documentation index, see [llms.txt](https://docs.deeep.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.deeep.network/hardware/setup-your-hardware/port-forwarding.md).

# Port Forwarding

## Detailed instructions for Various Routers

* [OpenWRT instructions](https://forum.openwrt.org/t/tutorial-how-to-add-a-device-to-dmz-on-openwrt/190247)

## Generic Router Step-by-Step Guide

**Step 1: Access Router Settings**

1. **Connect to the Router**: Ensure your computer is connected to the router via Wi-Fi or Ethernet.
2. **Open a Web Browser**: Launch your preferred web browser.
3. **Enter the Router's IP Address**: Type the router's IP address into the address bar and press Enter. Common router IP addresses are `192.168.1.1` or `192.168.0.1`.

**Step 2: Log in to the Router**

1. **Enter Username and Password**: You will be prompted to log in. Enter the router's admin username and password. If you haven't changed these, they are often set to default values like `admin` for both username and password. Check your router's manual for default credentials.

**Step 3: Locate Port Forwarding Settings**

1. **Navigate to Port Forwarding**: Once logged in, look for the Port Forwarding section. This may be under Advanced Settings, NAT, or similar headings.

**Step 4: Set Up Port Forwarding**

1. **Create a New Port Forwarding Rule**: Look for an option to add or create a new port forwarding rule.
2. **Configure the Rule**:
   * **Service Name**: Name the rule (e.g., "Open All Ports").
   * **Protocol**: Select both TCP and UDP.
   * **External Ports**: Enter a range from `1` to `65535`.
   * **Internal IP Address**: Enter the IP address of the DeEEP device. Ensure the device has a static IP address to prevent IP changes.
   * **Internal Ports**: Often, this will be the same as the external ports, `1-65535`.

**Step 5: Save and Apply Settings**

1. **Save/Apply Changes**: Save the new rule and apply the settings. The router may need to restart to apply these changes.
