UDP Reverse Proxy - User Datagram Protocol Reverse Proxy ========================================================== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is UDP Reverse Proxy?** A **UDP Reverse Proxy** is a server that receives UDP packets from clients and forwards them to backend servers, acting as an intermediary at the UDP transport layer. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is UDP Reverse Proxy useful?** UDP Reverse Proxies are useful for: - **Load balancing** UDP-based applications and services - **Hiding backend server details** from clients for security - **Failover and high availability** for UDP services - **Traffic monitoring and control** at the network edge .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How it works?** - The proxy listens for incoming UDP packets from clients. - It forwards packets to one or more backend UDP servers based on configured rules. - It manages client-server session mapping as UDP is connectionless. - Often used with load balancing software that supports UDP, like HAProxy, NGINX (stream module), or specialized UDP proxies. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is UDP Reverse Proxy used?** UDP Reverse Proxies are used in: - DNS services (UDP port 53) - Streaming media servers - Online gaming servers - VoIP protocols like SIP (for some functions) - IoT device communications .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does this protocol belong to?** UDP Reverse Proxy operates at the **Transport Layer (Layer 4)** of the OSI model. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is UDP Reverse Proxy Windows specific?** No, UDP Reverse Proxies are **not Windows specific** and can run on various platforms. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is UDP Reverse Proxy Linux specific?** No, UDP Reverse Proxies are **not Linux specific**, though Linux is a common deployment environment. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Transport Protocol is used by UDP Reverse Proxy?** UDP Reverse Proxy uses: - **UDP (User Datagram Protocol)** .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Port is used by UDP Reverse Proxy?** - Any UDP port depending on backend services. - Examples: 53 (DNS), 123 (NTP), or custom UDP ports. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is UDP Reverse Proxy using Client server model?** Yes, it uses the **client-server model**: - Acts as a **server** to the client sending UDP packets - Acts as a **client** forwarding UDP packets to backend servers .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`UDP_Reverse_Proxy Version&IEEE Details ` * :ref:`UDP_Reverse_Proxy Basic Setup on Ubuntu using IPv4 ` * :ref:`UDP_Reverse_Proxy Basic Setup on Ubuntu using IPv6 ` * :ref:`UDP_Reverse_Proxy Protocol Packet Details ` * :ref:`UDP_Reverse_Proxy Usecases ` * :ref:`UDP_Reverse_Proxy Basic Features ` * :ref:`Reference links ` .. _UDP_Reverse_Proxy_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _UDP_Reverse_Proxy_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _UDP_Reverse_Proxy_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _UDP_Reverse_Proxy_step5: .. tab-set:: .. tab-item:: UDP_Reverse_Proxy Version&RFC Details * rfc details .. _UDP_Reverse_Proxy_step18: .. tab-set:: .. tab-item:: UDP_Reverse_Proxy Basic Setup on Ubuntu using IPv4 * setup .. _UDP_Reverse_Proxy_step19: .. tab-set:: .. tab-item:: UDP_Reverse_Proxy Basic Setup on Ubuntu using IPv6 * setup .. _UDP_Reverse_Proxy_step6: .. tab-set:: .. tab-item:: UDP_Reverse_Proxy Protocol Packet Details * packet details .. _UDP_Reverse_Proxy_step7: .. tab-set:: .. tab-item:: UDP_Reverse_Proxy Usecases * usecases .. _UDP_Reverse_Proxy_step8: .. tab-set:: .. tab-item:: UDP_Reverse_Proxy Basic Features * features .. _UDP_Reverse_Proxy_step17: .. tab-set:: .. tab-item:: Reference links * Reference links