# Networking

## Description

This page documents the current known network position and port forwarding for the homelab.

## Current configuration

- The homelab is behind NAT.
- Port forwarding is configured as follows:
  - External ports `80-81` forward to internal ports `4480-4481`
  - External port `443` forwards to internal port `4443`

## Known facts

- NAT is present between the public internet and the homelab.
- Public HTTP/HTTPS traffic reaches the homelab through forwarded ports.
- External ports `80`, `81`, and `443` are known to be forwarded.
- Internal ports `4480`, `4481`, and `4443` are known forwarding targets.

## Unknown / needs clarification

- Router or firewall model.
- Whether the WAN IP is static, dynamic, or CGNAT.
- Internal IP address of the Raspberry Pi 5.
- Whether the Raspberry Pi 5 uses DHCP or static addressing.
- Exact mapping for external ports `80-81` to internal ports `4480-4481`:
  - Whether `80` maps to `4480`.
  - Whether `81` maps to `4481`.
- Protocols forwarded for each port: TCP, UDP, or both.
- Whether any other ports are forwarded.
- LAN subnet and gateway.
- DNS provider and DNS records.
- IPv6 availability or absence.
- Firewall rules on the Raspberry Pi 5.
