Port Forwarding Config Generator
Quickly generate NAS remote access port mapping rules and reduce manual setup errors
Configuration
Port Mapping Rules
Router Configuration Example
Internal IP: your NAS LAN IP
Internal Port: original service port
External Port: mapped public port
Protocol: TCP or TCP/UDP
Setup Steps
- Bind a static IP to NAS in your router
- Open Port Forwarding / Virtual Server settings
- Fill mapping entries using generated rules
- Save and restart router or reload rules
- Verify accessibility from an external network
Avoid exposing sensitive admin ports directly. Use strong passwords, HTTPS, allowlists, and VPN.
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.