Configuration

Enter the fixed LAN IP address assigned to your NAS by the router.

Port Mapping Rules

Router Configuration Example

ISP Port Restriction Notice

Your ISP may block port , which may prevent external access.
Use a high-numbered port instead, e.g. (28080)

Service Name: NAS Web Admin
Internal IP: your NAS LAN IP
Internal Port: original service port
External Port: mapped public port
Protocol: TCP or TCP/UDP

The 17NAS server connects back to your IP and port from the public internet. It only performs a TCP connection test and sends no data.

Setup Steps

  1. Bind a static IP to NAS in your router
  2. Open Port Forwarding / Virtual Server settings
  3. Fill mapping entries using generated rules
  4. Save and restart router or reload rules
  5. Verify accessibility from an external network
Security Tips

Avoid exposing sensitive admin ports directly. Use strong passwords, HTTPS, allowlists, and VPN.

Common service port reference

Check the port number and the risk level before you forward anything. Do not expose the red ones straight to the internet: they either ship with no authentication at all, or getting them cracked hands over the whole machine.

44 common ports listed

Swipe the table sideways

Service Default port Protocol Exposure risk Notes
NAS admin consoles
Synology DSM 5000 TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
Synology DSM (HTTPS) 5001 TCP Open with care —
QNAP QTS 8080 Often blocked TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
QNAP QTS (HTTPS) 443 Often blocked TCP Open with care Commonly blocked on residential lines — map it to a high external port.
fnOS 5666 TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
fnOS (HTTPS) 5667 TCP Open with care —
UGREEN NAS 9443 TCP Open with care —
TerraMaster TOS 8181 TCP Open with care —
ASUSTOR ADM 8000 Often blocked TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
Unraid 80 / 443 Often blocked TCP High risk Commonly blocked on residential lines — map it to a high external port.
TrueNAS 443 Often blocked TCP Open with care —
OpenMediaVault 80 Often blocked TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
OpenWrt / iStoreOS LuCI 80 Often blocked TCP High risk Designed for a LAN only. Exposing it puts your whole filesystem on display — use a VPN.
File sharing and transfer
SMB / CIFS 445 TCP High risk Designed for a LAN only. Exposing it puts your whole filesystem on display — use a VPN.
NFS 2049 TCP High risk Designed for a LAN only. Exposing it puts your whole filesystem on display — use a VPN.
AFP 548 TCP High risk Designed for a LAN only. Exposing it puts your whole filesystem on display — use a VPN.
FTP 21 TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
SSH / SFTP 22 TCP High risk A prime target for internet-wide scanners. Change the port, use key auth, ban failed IPs.
WebDAV 5005 TCP High risk Plaintext — your password travels in the clear. Forward the HTTPS port instead.
WebDAV (HTTPS) 5006 TCP Reasonably safe —
rsync 873 TCP High risk Designed for a LAN only. Exposing it puts your whole filesystem on display — use a VPN.
Synology Drive 6690 TCP Reasonably safe —
Media servers
Plex 32400 TCP Reasonably safe —
Emby 8096 TCP Open with care —
Jellyfin 8096 TCP Open with care Plaintext — your password travels in the clear. Forward the HTTPS port instead.
Jellyfin (HTTPS) 8920 TCP Reasonably safe —
Navidrome 4533 TCP Open with care —
DLNA / UPnP 1900 UDP High risk Designed for a LAN only. Exposing it puts your whole filesystem on display — use a VPN.
Download clients
qBittorrent WebUI 8080 Often blocked TCP Open with care Commonly blocked on residential lines — map it to a high external port.
Transmission WebUI 9091 TCP Open with care —
Aria2 RPC 6800 TCP High risk No authentication by default — reaching it is the same as owning the box. Never forward it.
BitTorrent 6881 TCP/UDP Reasonably safe Used for peering. Forwarding it only affects transfer speed; it exposes no admin UI.
Remote access and VPN
WireGuard 51820 UDP Reasonably safe Encrypts the whole path — the smallest attack surface of any remote-access option here.
OpenVPN 1194 UDP Reasonably safe Encrypts the whole path — the smallest attack surface of any remote-access option here.
Tailscale 41641 UDP Reasonably safe Relies on UDP hole punching — usually no manual forward needed, and forwarding can route you the long way round.
ZeroTier 9993 UDP Reasonably safe Relies on UDP hole punching — usually no manual forward needed, and forwarding can route you the long way round.
RDP 3389 TCP High risk A weak-password remote desktop is one of the most common ransomware entry points.
VNC 5900 TCP High risk A weak-password remote desktop is one of the most common ransomware entry points.
Databases and others
Docker API 2375 / 2376 TCP High risk No authentication by default — reaching it is the same as owning the box. Never forward it.
Portainer 9443 TCP Open with care —
Home Assistant 8123 TCP Open with care Plaintext — your password travels in the clear. Forward the HTTPS port instead.
MySQL / MariaDB 3306 TCP High risk Database ports have no business being on the internet. Tunnel over SSH or a VPN.
PostgreSQL 5432 TCP High risk Database ports have no business being on the internet. Tunnel over SSH or a VPN.
Redis 6379 TCP High risk No authentication by default — reaching it is the same as owning the box. Never forward it.

Eight things to check before you hit save

The moment a port opens, your NAS joins the list every internet-wide scanner works through — and a fresh public IP usually gets its first probe within minutes. Work through these and almost every automated attack stops at the door. Your ticks are stored in your own browser.

0 of 8 done

Before you open anything: four ways in

Port forwarding is the quickest route, but it is not always the right one — least of all when you have no public IPv4 to begin with. Each of these four costs you something different. Read before you configure.

Swipe the table sideways

Approach Needs public IPv4? Setup effort Speed Attack surface When to pick it
Port forwarding Required Low — a few clicks in the router Full upstream bandwidth Largest — the service is visible to the entire internet You have a public IP and need to share links with others, or seed torrents
Direct over IPv6 No — but both ends need IPv6 Medium — you must allow it in the router firewall Same as port forwarding — a direct peer-to-peer path Also internet-visible, but the address space is far too large to scan through Your ISP hands out IPv6 (most residential lines do) and the network you connect from supports it too
Mesh VPN (WireGuard / Tailscale / ZeroTier) No — works from behind NAT Medium — every device you connect from needs the client Near-direct when hole punching works; slower over a relay when it does not Smallest — nothing is listening on the public internet at all Only you and your family use it; nothing needs to be open to strangers
Reverse tunnel (frp and similar relays) Not on your side — but the relay server needs one High — you have to run a server with a public IP Capped by the relay's bandwidth — usually the slowest of the four The relay is exposed, not the NAS itself No public IPv4, no IPv6, yet outsiders still have to open it in a plain browser

Not sure which case you are in? Run the NAT type test to find out whether you are stuck behind carrier-grade NAT, then the IPv6 connectivity test to see if IPv6 actually works. Answer those two and the choice above makes itself.

FAQ

What is port forwarding?

Port forwarding redirects public requests to a specific LAN device/port so NAS services can be accessed externally.

How to find the NAS LAN IP?

Check the current LAN IP in NAS network settings.
You can also find it in the router DHCP client list.
Set it as DHCP reservation or static IP.
Otherwise IP changes after reboot may break forwarding rules.

Why use port offset?

Changing default ports to high ports reduces scanning and brute-force attempts.

How to troubleshoot closed ports?

Ensure the service is reachable on LAN first.
Ensure mapping protocol matches the service protocol.
Check firewall/security rules for the port.
Confirm your ISP does not block that public port.
Test from a real external network like mobile data.

How are port forwarding and DDNS related?

Port forwarding routes traffic to NAS, while DDNS provides a stable domain for changing public IPs.
Together they enable remote access via domain name.
If public IPv6 is available, direct IPv6 access can be preferred.
Without public IP, consider reverse proxy or NAT traversal tools.
Enable HTTPS and access control policies together.