NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

sleeplesswaves's avatar
Mar 09, 2023

OpenVPN on ReadyNas Raidiator 6.10.8

Hello all, I'm running a ReadyNAS Pioneer Pro that I've done the CPU + RAM upgrade, as well as upgradeing to Raidiator 6.10.8. All is working fine.
I'm trying to get my VPN running on the NAS. I previously used openvpn and it worked for a year or so, then threw an error which I can't remember.

I tried installing the ExpressVPN Debian app via command line and it installed fine, but never connects. So something isn't compatible.

 

So I thought I'd give openvpn another shot. It's already installed with version 2.3.4-5+deb8u2 but throws this error:

 

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
resolvconf : PreDepends: ifupdown (>= 0.7.5)
E: Unable to correct problems, you have held broken packages.

 

I tried running:
apt-get install ifupdown

 

And it threw this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libapparmor1 libcap2-bin
Use 'apt autoremove' to remove them.
Suggested packages:
ppp rdnssd
Recommended packages:
isc-dhcp-client | dhcp-client
The following packages will be REMOVED:
mdadm nut nut-server nut-snmp systemd systemd-sysv udev
The following NEW packages will be installed:
ifupdown
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
udev
0 upgraded, 1 newly installed, 7 to remove and 32 not upgraded.
Need to get 67.2 kB of archives.
After this operation, 21.5 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]

I aborted at this point of course. I'm reluctant to run apt-get update or upgrade as I'm assuming it may break raidiator's custom firmware in some way.

ChatGPT recommended this:
You can temporarily disable any third-party repositories by editing the /etc/apt/sources.list file or any files in the /etc/apt/sources.list.d/ directory and commenting out any lines that do not start with "deb" or "deb-src".

 

Then trying to install with: apt-get install ifupdown

 

Does anyone know of a way to do this safely? Or an alternate way to get openvpn or ExpressVPN running on the NAS?

 

Many thanks!!!

2 Replies

Replies have been turned off for this discussion
  • apt-get update will not harm the NAS.  It simply updates the list of available packages.  apt-get upgrade, on the other hand, is not something you want to do.  It will install newer versions of some of the base Debian packages used by the OS, which will likely include incompatible ones. 

     

    You were right to abort, however, as you do not want to uninstall any of the listed packages: mdadm nut nut-server nut-snmp systemd systemd-sysv udev.  You may need an earlier version of OpenVPN, but I don't know which one since I've not used it in years.

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      While I do use OpenVPN, it is installed in my router, so not on the NAS.

       

      So maybe

      1. check if your router has the service built in already (Netgear Orbi and Nighthawk routers do)
      2. if not, look into ZeroTier, which can be installed on the NAS.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More