Let's take a look at our demo environment and start getting into our topic. What we are going to talk about today is how to use the forwarding function of the router to make the extranet access to a server or computer on the local area network. Maybe you travel a lot, but you need to visit the SVN project on your company's local area network or visit a website or something, this article can solve your problem. Of course, this article is focused on the general router to support the forwarding function of the solution, in the future to clean up the Ros Nat forwarding.
Demo Environment
Hardware: Tp-link td-w89841n Enhanced 300m11n ("forwarding rules-virtual servers" can be supported)
Windows Server 2003 System computer One (used to build services)
A common computer (for testing)
Other: Windows Server 2003 computers are dial-up to the Internet via a LAN router
Normal computer can surf the internet
1 Peanut Shell Account
Testing Content: Web sites
Ftp
Remote Desktop control
Svn
Routing Management
MSSQL Database
First, preparatory work preparation
1, you now have a dial-up Internet access through the router Win2003 server, and the server has installed a variety of services, such as Web sites, Remote Desktop control, routing management.
2, there is a common computer, the normal access to the line.
3, have a peanut shell account. and set the DDNS. (specifically how to set this section does not speak)
Second, enter the routing setup
1, forwarding rules-Virtual server-Add new entries
> Using interfaces, the default is generally only 1.
> Service port number, refers to the local area network WIN2003 server of a service port number, if you want to use forward Remote Desktop, then the port number is 3389.
>ip address, refers to the LAN's WIN2003 server IP address
> protocol, generally TCP/IP
> Status, effective
> Common service port, no pipe
> Set well above, remember to save
2. Set up Dynamic DNS (DDNS)
> Input Peanut Shell account number and password
> Enable DDNS
> Landing Success
> Save
Test: Assuming that my broadband extranet IP is 10.10.10.10, ping my peanut shell domain name to see if the result is 10.10.10.10.
Third, the practice of operation
1, all my operations are completed, start Remote Desktop test.
> Start-run-mstsc-Enter your broadband extranet IP or peanut shell domain name. such as 123.gicp.net
> Remote Desktop Connection-Enter your broadband extranet IP or peanut shell domain name.
> enter Win2003 account number and password to enter the system desktop
>
There is no problem with the operation of > above, which means success. Other service operation is similar, try it yourself!
>
Tisp:
1, router set forwarding rules that server or computer, must boot service normal, otherwise it is unable to map.
2, if there are modifications to the port, you need to correct timely.
3, some home broadband may not be normal use of 80 ports, because the operator sealed.
4, if there are set forwarding rules, must modify the default port, improve security.