METHODS OF BUILDING DURABLE UDP PORT MAPPINGS IN A NAT-BASED ENVIRONMENT
DOI:
https://doi.org/10.28925/2663-4023.2024.24.321340Keywords:
Network Address Translation (NAT); User Datagram Protocol (UDP); Virtual Private Networks (VPNs); WireGuard; VMware; persistent UDP mappings; port mapping Time to Live (TTL); static port mapping; NAT traversal techniques; NAT mapping support protocol; network reliability; network performance optimization.Abstract
Staying abreast with User Datagram Protocol (UDP) has become more crucial in modern digital networks, which are continuously expanding and becoming more intricate. Maintaining UDP mappings in a NAT-based environments, reliable and uninterrupted communication for various duties, such as expeditiously transmitting data and establishing secure connections via virtual private networks (VPNs) like WireGuard is of utmost importance. Network Address Translation (NAT) is an important part of protecting the limited number of global Internet Protocol (IP) addresses and making networks safer by hiding how private communication networks are set up on the inside. However, NAT presents a number of challenges, one of which is the dynamic assignment of port numbers, which has the potential to result in disruptions in connections. The objective of this article is to elaborate on the functioning of WireGuard, placing particular emphasis on the criticality of dependable UDP mappings in order to achieve peak performance. In addition, the paper examines VMware’s Network Address Translation solution to illustrate the challenges associated with maintaining UDP mappings. In this article, an investigation is conducted into the many methods and current solutions that have been developed in order to mitigate said issues. Some of the strategies that have been implemented include the utilization of static port mapping in order to establish a reliable route through NAT, the extension of the Time to Live (TTL) for port mappings in order to reduce the number of connection disruptions, and the approach of sending empty UDP packets in order to keep active mappings. In addition, a novel solution is suggested: a protocol for managing NAT mapping that makes an effort to simplify the process of modifying the frequency of UDP probes by requiring NAT devices to disclose their TTL settings. The purpose of this protocol is to make NAT mapping easier to manage and more efficient in terms of overall network traffic.
Downloads
References
IETF. (n.d.). Internet Engineering Task Force. https://www.ietf.org/rfc/rfc0768.txt
IBM documentation. (n.d.). IBM in Deutschland, Österreich und der Schweiz.
Advantages of UDP | disadvantages of UDP. (n.d.). RF Wireless Vendors and Resources | RF Wireless World. https://www.rfwireless-world.com/Terminology/Advantages-and-Disadvantages-of-UDP.html
Javatpoint. (n.d.). UDP protocol | user datagram protocol - javatpoint. https://www.javatpoint.com/udp-protocol
ClouDNS Blog. (n.d.). UDP (user datagram protocol) explained in details - cloudns blog. https://www.cloudns.net/blog/udp-user-datagram-protocol-explained-in-details/
Khan Academy. (n.d.). User datagram protocol (UDP) (article) | khan academy. https://www.khanacademy.org/computing/computers-and-internet/xcae6f4a7ff015e7d:the-internet/xcae6f 4a7ff015e7d:transporting-packets/a/user-datagram-protocol-udp
bunny.net. (n.d.). What is user datagram protocol(udp)? What are its benefits?. What Is User Datagram Protocol(UDP)? What are its benefits? https://bunny.net/academy/network/what-is-user-datagram-protocol-udp-and-how-does-it-work/
Chapter 1 - an introduction to network address translation. Microsoft Learn: Build skills that open doors in your career. (n.d.). https://learn.microsoft.com/en-us/azure/rtos/netx-duo/netx-duo-nat/chapter1
Hanna, K. T., & Burke, J. (2024). What is network address translation (NAT) and how does it work?. Networking. https://www.techtarget.com/searchnetworking/definition/Network-Address-Translation-NAT
CompTIA. (n.d.). Network address translation definition | how NAT works | computer networks | comptia. https://www.comptia.org/content/guides/what-is-network-address-translation
GeeksforGeeks. (n.d.). Network address translation (NAT) - geeksforgeeks. https://www.geeksforgeeks.org/network-address-translation-nat/
Fortinet. (n.d.). What is NAT (network address translation)? How does NAT work?. https://www.fortinet.com/lat/resources/cyberglossary/network-address-translation
Avi Networks. (n.d.). What is network address translation? | avi networks. https://avinetworks.com/glossary/network-address-translation/
Cisco. (n.d.). What is network address translation (NAT)? https://www.cisco.com/c/en/us/products/routers/network-address-translation.html#:~:text=Network%20 Address%20Translation%20(NAT)%20is,sent%20to%20an%20external%20network. (date of access: 17.02.2024).
NDSS Symposium. (n.d.). WireGuard: next generation kernel network tunnel - NDSS symposium. https://www.ndss-symposium.org/ndss2017/ndss-2017-programme/wireguard-next-generation-kernel-network-tunnel/
WireGuard: fast, modern, secure VPN tunnel. (n.d.). https://www.wireguard.com/
NordLayer. (n.d.). What is WireGuard protocol? | NordLayer Learn. Network Access & Security Solutions. https://nordlayer.com/learn/vpn/wireguard/?gad_source=1&gclid=CjwKCAjw_e2wBhAEEiwAyFFFo3O_v0y1DaH_T0pBVCSGjs6vjr_nykdMmznFsK9MiVH_5yB3CbmX4hoCeW4QAvD_BwE
VMware Docs Home. (n.d.). Understanding virtual networking components. https://docs.vmware.com/en/VMware-Workstation-Pro/17/com.vmware.ws.using.doc/GUID-8FDE7881-C31F-487F-BEF3-B2107A21D0CE.html
VMware Docs Home. (n.d.). Using the virtual network editor. https://docs.vmware.com/en/VMware-Workstation-Pro/17/com.vmware.ws.using.doc/GUID-AC956B17-30BA-45F7-9A39-DCCB96B0A713.html
VMware Docs Home. (n.d.). Configuring network address translation. https://docs.vmware.com/en/VMware-Workstation-Pro/17/com.vmware.ws.using.doc/GUID-89311E3D-CCA9-4ECC-AF5C-C52BE6A89A95.html
Halkes, G., Pouwelse, J. (2011). UDP NAT and Firewall Puncturing in the Wild. NETWORKING 2011. Lecture Notes in Computer Science, Vol. 6641. https://doi.org/10.1007/978-3-642-20798-3_1
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Максим Котов, Сергій Толюпа
![Creative Commons License](http://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.