# TCP Tunnels

> Effortlessly create TCP 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/tcp_tunnels/


# Create TCP Tunnels with Pinggy

Create a tunnel using a single command.


```bash
# SSH - no install, works anywhere the ssh client is available
ssh -p 443 -R0:localhost:8000 tcp@free.pinggy.io
```

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


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

## Specific SSH Guides

If you want to SSH into a specific operating system, check out our step-by-step guides:

- [SSH into Windows from anywhere](/docs/guides/ssh_windows/)
- [SSH into Mac from anywhere](/docs/guides/ssh_mac/)
- [SSH into Linux PC from anywhere](/docs/guides/ssh_linux/)
- [SSH into IoT device from anywhere](/docs/guides/ssh_iot/)


