# UDP Tunnels

> Effortlessly create UDP tunnels with Pinggy using a single command. Reserve a port on the dashboard for consistent connections and seamless localhost tunneling.
> Source: https://pinggy.io/docs/udp_tunnels/


# Create UDP Tunnels with Pinggy CLI

Using Pinggy CLI (beta) you can create UDP tunnels to localhost. UDP tunnels cannot be created using SSH command.

Step 1. [Download the Pinggy CLI](/cli/).

Step 2. Start the UDP tunnel using the CLI with the following command: 


```bash
# Pinggy CLI - install with: npm install -g pinggy (or download the binary)
./pinggy -p 443 -R0:localhost:8000 udp@free.pinggy.io
```


This command present user with a URL and a UDP port. Port allocation changes per connection. However, Pro users can reserve a persistent port on <https://dashboard.pinggy.io>

