TeamViewer remote host wake-up tutorial (multiple images)

Source: Internet
Author: User

First of all, thank you for coming here. This article is actually a tutorial. It involves TeamViewer, Mac OS X, TP-link home router, and peanut shell ddns. For new users, there may be a little more content, however, I believe that it will not be too difficult to follow my tutorial step by step. If you have any questions or problems, please leave a message to me, I will try my best to answer you. For veterans, this article does not have much technical content. It is just a Summary of the knowledge and skills. If I have written something wrong, please leave a message. In addition, for users who use Windows and those who use vrouters of other brands, you can refer to this article to debug your own devices, because most of the concepts are the same.


Let's start now! Follow the picture ......



To TP-link TD-W89841N router to explain, first go to "System Management"> "management control", Open remote management, and fill in a port, it will be used to remotely manage my own network in the future (the reason why I do not fill in the default port 80 is out of security considerations, but I have changed some of them to a little bit more secure ).




Go to the "Dynamic DNS" setting interface, and enter the username and password of the ddns in the peanut shell to log in. The dynamic domain name you set will appear below. The so-called ddns is a dynamic domain name resolution service. If you use dial-up Internet access like me, different public IP addresses will be allocated by the operator each time you access the internet, then you need to use ddns to help you dynamically map a domain name to your public IP address so that you can access your local network and devices in the local network through the domain name, of course, this includes the computer you want to access. The ddns service of peanut shells is completely free of charge. When selecting a domain name, you can select a free Domain Name like me. Its stability is sufficient to meet the needs of general family users.



Next, to verify the dynamic domain name and vro remote management function, we need to find another host on the Internet to access the dynamic domain name. The simplest way is to use your own smartphone to access the Internet through 3G (do not connect to the home WiFi) and enter our dynamic domain name in the browser and the previously set port number "8088 ".




If everything is normal, the password verification page of The vro will appear, which indicates that our dynamic domain name and vro remote management are available.




To configure port forwarding (subsequently used to configure the remote Wakeup function), we need to allow the computer to enjoy the same IP address every time it is started up. We can configure DHCP static IP Address allocation. Go to "DHCP server"> "static Address Allocation" and click "Add new entry ".




First, we need to obtain the MAC address of the computer Nic. It is the most direct method to find the corresponding MAC address through the DHCP client list, however, you can also view the MAC address of your Nic through commands on this computer ., Use the "ifconfig-a" command in Mac OS to obtain the MAC address of the wired nic "10: DD: B1: **: B0 ", the command for Windows users is "ipconfig/All ".




Enter the obtained MAC address in the corresponding location, and then the static IP address to be allocated. By default, click Save.

Note: we do not need to make any changes to the computer's operating system, so that your network card is set to "get Dynamic IP addresses through DHCP ", assign a fixed IP address to the router!




Next, an entry with the MAC address "10: DD: B1: **: B0" and the status "effective" appears in the list. In this way, when the network adapter requests an IP address again, the router will allocate the IP address "192.168.1.20" to it.




When we add a static address allocation rule for the DHCP service, some vrouters of certain brands automatically add static ARP binding for it. This method has many advantages, which can prevent other users in the network from manually configuring IP addresses to seize the reserved IP addresses, and avoid ARP spoofing attacks by some malware and viruses, makes the entire network more secure. Therefore, we recommend that you manually add the corresponding binding rules without automatically adding ARP bindings.

Click "IP and Mac binding"> "static ARP binding Settings", enable and save ARP binding on the right side, and then click "Add new entry ".




Enter our MAC address and IP address, select "bind", and save.




In this way, there will be more entries in the static ARP binding list.




After configuring the vro, return to our computer and reactivate the NIC. You can see that the IP address has been updated to "192.168.1.20", which indicates that the vro settings have taken effect.

For how to reactivate the NIC, the Mac OS X command is "sudo ifconfig en0 down" and "sudo ifconfig en0 up", while the Windows Command is "ipconfig/renew ", A friend who is too troublesome can directly restart the computer.




Next, we will add a port forwarding rule. The corresponding function in the TP-link router is "virtual server", and some vrouters may be called "port forwarding" directly ", however, they implement the same functions. Here we first assume that UDP data packets are forwarded using port 6 (in fact, it is okay to use which port, but do not conflict with other services ), then I will talk about how to configure the port number in the TeamViewer client.

Click "forwarding rules"> "virtual server", and then click "Add new entry ".




Configure our forwarding rules. We will forward the UDP packet received by port 6 to "192.168.1.20.





After saving, we have this forwarding rule in our list. At this time, all UDP protocol packets from the Internet trying to access port 6 will be forwarded to our host. However, after proper configuration, we can enable the computer to start when the network adapter receives the UDP packet. This is the basic principle of remote wakeup!



For the so-called "proper configuration", enable the "Node" in "system preference settings" on the Apple Server and select "wake up for network access ".

For a PC, you need to activate the "Lan Wakeup" function in the bios, and each wakeup is like you press the host power button, power on the motherboard, self-check, boot, and access the operating system ......



It must be noted that the remote start condition of the PC is that the host is powered on, the NIC is connected to the network cable, and the "Lan Wakeup" function is enabled in the BIOS, at this time, the operating system can be completely shut down.

However, Apple does not support remote start. It only supports remote wake-up, that is, it can only be awakened from sleep, but not from shutdown.

The reason for understanding this is also very simple. This is because Apple made a lot of efforts when designing Mac so that Mac computers do not need to be shut down, it was designed to allow users to continue working on their computers in a matter of seconds by tapping the keyboard.

If you have purchased an Apple computer, we recommend that you change your usage habits on Windows. Because Mac OS remains running for a long time, the system performance will not be significantly reduced, and the power consumption of the Apple Computer itself is extremely small, and the power consumption of the sleep state is even smaller, so there is no need to shut down for daily use, this is similar to iPad.



Let's talk about how to configure TeamViewer. In the "Preferences" of the software, click the "configuration" button of the "Lan wake-up" function on the "General" tab.




In the displayed dialog box, enter our dynamic domain name and port number "6", and then save the settings.




By now, all the configurations have been completed. All we need to do is verify our results on the Internet.

First, for Mac OS, click "Apple logo in the upper left corner"> "Sleep". For Windows, click "flag in the lower left corner"> "Shut Down ".

Go to the TeamViewer app on the mobile phone. Note that we still need to use 3G to connect to the network. We will see that this host is already offline, and there is a "Power Switch" button on the right.




We tried to click this button. In a short time, we will find that our computer has been remotely awakened. Then, the app prompts the host to go online and asks if we want to connect.




After selecting "connection", we need to enter the unattended remote control password of TeamViewer.




After the verification is passed, we can directly control the remote host. Of course, if your Mac OS or windows still have your own password, it also needs to be verified, like this:




After logging on to the operating system, we can operate the desktop. If you are using an iPad or a company computer, the operation will be relatively easy, but if you are using a mobile phone, you can scale the screen to the appropriate size.




At this point, the content of this article is over, and I hope it will help you!

If I am not clear enough or have any omissions, please leave a message for us to discuss it!


References:

1. TeamViewer user manual http://www.teamviewer.com/zhcn/help/firststeps.aspx

2. TeamViewer LAN wake-up function manual http://www.teamviewer.com/zhcn/res/pdf/TeamViewer-Manual-Wake-on-LAN-zhcn.pdf



TeamViewer remote host wake-up tutorial (multiple images)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.