Configure NAT traversal with two Linux machines

Source: Internet
Author: User
Use two Linux machines to configure NAT traversal-Linux Enterprise Application-Linux server application information. See the following for details. 1. Use two Linux machines to configure NAT through iptables

2. Use stund (vovida.org) to test the NAT type port restricted nat type. You can only configure the symmetric nat type for iptables.

3. Use the sip client to test the traversal.

4. The NAT ing port is actually the same as that allocated by the Intranet. Still cannot be crossed, because the port mapped by one nat is always 1024 or 1025

5. Chen Hui wrote the udpclient test. The result is: when there is external data access to the unused port port1 of nat, the port mapped to the data of the same number of port1 after nat is 1024 or 1025.

6. Conclusion: when both parties are port restricted nat type or specified Ric nat type, it cannot be crossed.

7. Test QQ and find that it uses server forwarding for audio and video data communication.
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.