Diagram of NAT route configuration for Windows Server 2008

Source: Internet
Author: User

Linux has powerful network functions, especially its firewall iptables. Many embedded vro operating systems are also linux. Today, a friend asked if some functions are available in Windows. In fact, Windows also provides such routing functions, such as forwarding and Port ING, that is, both SNAT and DNAT support, next we will test:

Lab environment
1. Install the role Service
2. Configure routing and remote access management tools-Routing and Remote Access
Here we customize the configuration, of course, you can also directly select NAT
Next Step
Expand ipv4, right-click NAT-new interface
Select internal Nic interface
Add an interface again
,
Select an Internet Nic this time, that is, your interface to connect to the Internet.
1
Enable NAT for this interface
Now our NAT has been configured, and now we can perform address translation. Let's take a look.
Intranet server IP configuration
Let's ping Baidu.
Did you see it? Intranet users can access the Internet. This enables the SNAT function.
We can see that our intranet users are mapped to the internet interface of our NAT server.
How to configure port ing (DNAT)
1. Configure port ing
Internet Nic, point attribute
Select service and port-click add
Enter the description and configuration information, which means to map port 5000 of the Internet Nic to port 3389 of the intranet server.
Click application-OK
The configuration is complete. Now let's test it.
OK
Address ING:
1. Configure address ing
Click address pool-add
6
Because only one ip address is bound to the Internet Nic, you only need to add one ip address. Note that the ip address of the Internet Nic is added.
7
Then we click "retain".
Add more
This check box allows the session to be transferred to this address to indicate all the traffic sent from the Internet to this NAT server, to the intranet Web server
After the configuration is complete, let's test it.
Successful! The basic configuration of the NAT route for Windows Server 2008 is completed in this way.

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.