# DietPi on RockPro64 as seedbox, VPN help

**URL:** <https://dietpi.com/forum/t/dietpi-on-rockpro64-as-seedbox-vpn-help/3227>\
**Category:** Troubleshooting\
**Created:** [25 May 2019 13:14 UTC](https://dietpi.com/forum/t/dietpi-on-rockpro64-as-seedbox-vpn-help/3227 "2019-05-25T13:14:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krimlocke](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/k/d07c76/32.png) [@Krimlocke](https://dietpi.com/forum/u/Krimlocke)\
**Post date:** [25 May 2019 13:14 UTC](https://dietpi.com/forum/t/dietpi-on-rockpro64-as-seedbox-vpn-help/3227/1 "2019-05-25T13:14:02Z")

</div>

Hi, apologies if this has been asked and answered before, but for the life of me, I can’t work this out. I am extremely new to Linux, and decided that it was time for me to make a home seedbox / plex server / cloud server / whatever else this can do, and a RockPro64 with DietPi seemed like the perfect place to start. I have had only minor issues until now, with a quick search online answered most if not all, but when it comes to using my VPN provider, I am getting nowhere. I use ExpressVPN, which suits my wife and kids as it’s installed on the Android TVs for viewing overseas Netflix, so I really don’t want to change. But I have tried and tried to get ExpressVPN to work on DietPi, but am having no luck. The installers don’t seem to work, either, I can’t extract them or they just error, and PiVPN and OpenVPN seem more geared towards providing your own VPN service rather then connecting to one. I have a .ovpn file, the credentials, but I lack the know-how to get it working. My ISP throttles any torrenting (private or otherwise) to less than 10% of my connection, so any help would be greatly appreciated. What I was hoping for was an always on VPN, that connects on startup and if possible (what I have setup in Windows) is that if the VPN disconnects, it would stop all internet traffic, but could still be accessed on the local network, and would attempt to reconnect. 🙂

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [9 June 2019 23:37 UTC](https://dietpi.com/forum/t/dietpi-on-rockpro64-as-seedbox-vpn-help/3227/2 "2019-06-09T23:37:56Z")

</div>

Krimlocke  
You are right that dietpi-software OpenVPN sets it up as server, but it can act as client as well.

They offer an app as well, but most likely not for ARMv6 / ARM64, right? Can’t see it since one needs to sign up to access the download page.

The OpenVPN install instructions are indeed completely missing in their docs, however it should be quite easy:

```nohighlight
apt install openvpn
mv /path/to/your/.ovpn /etc/openvpn/expressvpn.ovpn
cat << _EOF_ > /lib/systemd/system/expressvpn.service
[Unit]
Description=ExpressVPN
After=network.target dietpi-boot.service

[Service]
ExecStart=$(command -v openvpn) /etc/openvpn/expressvpn.ovpn

[Install]
WantedBy=multi-user.target
_EOF_
systemctl daemon-reload
systemctl enable --now expressvpn

```

This should install and start the VPN connection. You can then check status, start, stop, restart via systemctl:

```nohighlight
systemctl status expressvpn
systemctl start expressvpn
systemctl restart expressvpn
systemctl stop expressvpn

```

It will start at boot automatically, to disable this:

```nohighlight
systemctl disable expressvpn

```

You can also start it outside of systemd/systemctl via openvpn command directly, e.g. for testing reasons:

```nohighlight
openvpn /path/to/your/.ovpn

```

---

<div class="post-metadata">

**Author:** ![fang91](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/f/9de053/32.png) [@fang91](https://dietpi.com/forum/u/fang91)\
**Post date:** [16 December 2019 15:09 UTC](https://dietpi.com/forum/t/dietpi-on-rockpro64-as-seedbox-vpn-help/3227/3 "2019-12-16T15:09:17Z")

</div>

> [@](#):
>
> Hi, apologies if this has been asked and answered before, but for the life of me, I can’t work this out. I am extremely new to Linux, and decided that it was time for me to make a home seedbox / plex server / cloud server / whatever else this can do, and a RockPro64 with DietPi seemed like the perfect place to start. I have had only minor issues until now, with a quick search online answered most if not all, but when it comes to using my VPN provider, I am getting nowhere. I use ExpressVPN, which suits my wife and kids as it’s installed on the Android TVs for viewing overseas Netflix, so I really don’t want to change. But I have tried and tried to get ExpressVPN to work on DietPi, but am having no luck. The installers don’t seem to work, either, I can’t extract them or they just error, and PiVPN and OpenVPN seem more geared towards providing your own VPN service rather then connecting to one. I have a .ovpn file, the credentials, but I lack the know-how to get it working. My ISP throttles any torrenting (private or otherwise) to less than 10% of my connection, so any help would be greatly appreciated. What I was hoping for was an always on VPN, that connects on startup and if possible (what I have setup in Windows) is that if the VPN disconnects, it would stop all internet traffic, but could still be accessed on the local network, and would attempt to reconnect. 🙂

Try consider NordVPN or Surfshark VPN as they are the best VPNs for Netflix ([listed here](https://www.vpnranks.com/netflix-vpn/)) so far. Use them on trial basis and if they fulfill your need, they go for them on full buying.
