# openVPN no data transferred

**URL:** https://dietpi.com/forum/t/openvpn-no-data-transferred/5586
**Category:** Troubleshooting
**Created:** [10 August 2021 19:13 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586 "2021-08-10T19:13:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Darron](https://dietpi.com/forum/user_avatar/dietpi.com/darron/32/2172_2.png) [@Darron](https://dietpi.com/forum/u/Darron)
#### Post date: [10 August 2021 19:13 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586/1 "2021-08-10T19:13:28Z")

</div>

I can connect to the VPN locally, PC to pi, and remotely, phone/tablet to pi.  
There’s no issue connecting, but the data that’s being transferred is bits and bytes.

Any idea what’s going on?

---

<div class="post-metadata">

### Author: ![chucklesmcgee](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@chucklesmcgee](https://dietpi.com/forum/u/chucklesmcgee)
#### Post date: [11 August 2021 22:35 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586/2 "2021-08-11T22:35:14Z")

</div>

I’m working my way through the same issue with wireguard, checking my configuration settings to make sure external IPs are allowed.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 August 2021 09:47 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586/3 "2021-08-12T09:47:37Z")

</div>

Hi,

WireGuard is working a different way. Even the app on your mobile device is indicating a connection, it might not to be true. Best is to check in WireGuard server the connection status and if there is an actual handshake listed. You could do this by using wg command.

It could looks like this for a client connected and another client not connected.

```nohighlight
root@DietPiProd:~# wg
interface: wg0
  public key: <myKey>
  private key: (hidden)
  listening port: 51820

peer: <myKey>
  endpoint: x.x.x.x:44710
  allowed ips: 10.9.0.7/32
  latest handshake: 12 seconds ago
  transfer: 5.86 KiB received, 13.06 KiB sent

peer: <myKey>
  allowed ips: 10.9.0.2/32

```

---

<div class="post-metadata">

### Author: ![chucklesmcgee](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@chucklesmcgee](https://dietpi.com/forum/u/chucklesmcgee)
#### Post date: [12 August 2021 14:32 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586/4 "2021-08-12T14:32:42Z")

</div>

Fixed it, I needed to port forward UDP in addition to TCP on my router.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [12 August 2021 14:45 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586/5 "2021-08-12T14:45:36Z")

</div>

TCP is not needed at all, as VPN is working on UDP.

---

<div class="post-metadata">

### Author: ![chucklesmcgee](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@chucklesmcgee](https://dietpi.com/forum/u/chucklesmcgee)
#### Post date: [12 August 2021 16:09 UTC](https://dietpi.com/forum/t/openvpn-no-data-transferred/5586/6 "2021-08-12T16:09:25Z")

</div>

> [@](#):
>
> TCP is not needed at all, as VPN is working on UDP.

Appreciate it!
