Hongqi. Ask Intranet port tabing for a single Nic iptables

Source: Internet
Author: User
Hongqi. For more information about how to map a single Nic iptables port to the Intranet-Linux general technology-Linux technology and application, see the following. The situation is as follows:

Intranet:
2 machines:

A: ordinary PC with web Service, IP Address: 10.36.1.123 port: 80
B: lunix Suse host, also comes with a web service, IP Address: 10.36.1.41 port: 80


In special cases, port 80 of the Intranet address of machine B is mapped to the public network by the router. The address is 202.103.18.99.


How can I set iptables for a single Nic on host B.

So that machines on the public network can access the web Service of machine A on the Intranet by accessing the Internet address of machine B?

For example, public network access 202.103.18.99: 8001
Automatically jump to 10.36.1.123: 80 of Intranet


Thank you for your support!
Related Article

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.