Operations 10 min read

Configure Remote Access and Wake‑On‑LAN on a TP‑Link Router with DDNS and TeamViewer

This step‑by‑step guide shows how to enable remote management on a TP‑Link router, set up a free PeanutShell DDNS, assign a static IP via DHCP, configure static ARP binding and port forwarding, and use TeamViewer’s LAN wake‑up feature to remotely power on your computer.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Configure Remote Access and Wake‑On‑LAN on a TP‑Link Router with DDNS and TeamViewer

In this tutorial we walk through enabling remote management on a TP‑Link TD‑W89841N router, configuring a free PeanutShell DDNS service, and setting up static IP allocation and ARP binding to ensure reliable remote access.

First, open System Management → Management Control and enable remote management on a non‑standard port (e.g., 8088) for added security.

Next, go to Dynamic DNS , enter your PeanutShell DDNS username and password, and save the generated domain name. DDNS maps a changing public IP to a constant domain, which is essential for dial‑up connections.

Verify the DDNS and remote management by accessing the domain and port from a smartphone using a 3G connection (do not use your home Wi‑Fi). You should see the router’s password prompt, confirming the setup works.

To keep the computer’s IP address constant, configure a static DHCP lease: DHCP Server → Static Address Allocation → Add New Entry . Retrieve the computer’s MAC address (Mac: ifconfig -a, Windows: ipconfig /all) and assign a fixed IP such as 192.168.1.20.

After saving, the router will always assign the specified IP to that MAC address.

Optionally enable static ARP binding ( IP & MAC Binding → Static ARP Binding ) to prevent IP hijacking and ARP‑spoofing attacks.

Now set up port forwarding (virtual server) for UDP port 6, directing traffic to the static IP (192.168.1.20). This allows incoming packets to reach the computer and trigger Wake‑On‑LAN.

Enable Wake‑On‑LAN on the client machines: on macOS, check “Wake for network access” in Energy Saver; on Windows PCs, enable “LAN Wakeup” in the BIOS.

Configure TeamViewer: open Preferences → General → LAN Wakeup → Configure, enter the DDNS domain and port (6), and save.

Test the setup by putting the Mac to sleep and the Windows PC to shutdown, then use the TeamViewer mobile app (on 3G) to click the power‑button icon. The computer should wake remotely, allowing you to connect and control it.

After successful wake‑up, enter the unattended TeamViewer password to gain remote control, and if the OS itself requires a password, provide it as usual.

This completes the configuration; you can now remotely access and power on your machine from anywhere.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Network ConfigurationRemote accessDDNSTeamViewerTP-LinkWake-on-LAN
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.