× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

calaba
Guide

How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Hello all - if anyone is interested in knowing the solution mentioned in this topic here then here is it. Unfortunatelly the topic is already closedso cannot add solution directly there.

 

Tested on NETGEAR ReadyNAS 10400.

 

Current version of the VPN App is 1.5 which contains SoftEther VPN Server version 4.12.

 

I successfully updated the SoftEther VPN Server to latest version as of today 4.19 - Build 9605.

 

The solution is to download latest binary build for ARM (my ReadyNAS is ARM v7) and then copy it to the folder /apps/vpnserver/bin/arm/ . In this location there is a compilation script which can rebuild the vpnserver and vpncmd executables (ELF) using the latest binary release of the downloaded SoftEther VPN Server.

 

Steps - ssh root access is required:

 

1) Stop the VPN Server App in ReadyNAS Web UI

2) ssh to the ReadyNAS box (i.e. using PuTTy)

3) Become root by executing "sudo su" if your user is sudoer or logon directly as user root

4) Install build tools to be able to execute the SoftEther build:

 

  • apt-get update
  • apt-get install make libc6-dev gcc gdb libtag1-dev uuid-dev

5) download latest ARM EABI Binary release of the SoftEther VPN Server - in my case 4.19-Build 9605

 

 

6) Untar the archive

  • tar xvf softether-vpnserver-v4.19-9605-beta-2016.03.06-linux-arm_eabi-32bit.tar.gz

The directory vpnserver is created.

 

7) Copy the content of the vpnserver directory (the archive extract) over the files in the directory /apps/vpnserver/bin/arm/

 

😎 cd to /apps/vpnserver/bin/arm/ and build the new ELF executables:

 

  • cd  /apps/vpnserver/bin/arm/
  • ./.install.sh - you have to view & accept the license agreement, after that the new executables (vpnserver and vpncmd) should be build using the files extracted from the latest binary release of the SoftEther VPN Server

9) Now copy everything from /apps/vpnserver/bin/arm/ also one level up to /apps/vpnserver/bin (dunno why it's duplicated there)

 

10) make sure you return the ownership of the files to the admin user:

  • cd  /apps/vpnserver
  • chown -R admin:admin bin/

11) Cleanup the extracted vpnserver directory and the downloaded archive

 

12) Start the VPN Server App from ReadyNAS Web UI and Enjoy new version (don't forget to use compatible VPN Client tools)

 

Maybe someone can write fully automated script ... including the download from the SoftEther VPN Server location 😉

 

Message 1 of 21
JennC
NETGEAR Employee Retired

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Hello calaba,

 

Thank you for sharing your resolution and/or workaround. We appreciate your contribution to the community. 
 
Feel free to post any suggestions, questions, recommendations or anything about your NAS that you think needs attention or will help others.
 
Welcome to the community!
 
Regards,
Message 2 of 21
brlathanjr
Guide

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Thanks for you post. I was able to successfully upgrade the RN516. I wanted to shared these instructions, because it will simply future upgrades, because in the future you will need to change the file name and remove the apt-get install steps.

 

apt-get update
apt-get upgrade
apt-get install build-essential
apt-get install make libc6-dev gcc gdb libtag1-dev uuid-dev

mkdir /root/softether
cd /root/softether

wget http://www.softether-download.com/files/softether/v4.19-9605-beta-2016.03.06-tree/Linux/SoftEther_VP...

tar xvf softether-vpnserver-v4.19-9605-beta-2016.03.06-linux-x64-64bit.tar.gz

cp -avr /apps/vpnserver/bin/vpn_server.config /root/softether/vpnserver/
cp -avr /apps/vpnserver/bin/vpn_server.config.save /root/softether/vpnserver/

make

1
1
1

cp -avr /root/softether/vpnserver/* /apps/vpnserver/bin/arm
cp -avr /apps/vpnserver/bin/arm/* /apps/vpnserver/bin
cd /apps/vpnserver/bin/arm

./vpncmd
3
check
exit

cd /apps/vpnserver
chown -R admin:admin bin/


rm -rf /root/softether

Message 3 of 21
JJS68
Tutor

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Thank you, this worked for me (ReadyNAS 314)

 

did have to add the below before the make command, but this made it very easy to upgrade, thanks

 

cd /root/softether/vpnserver

 

 

 

 

 

 

Message 4 of 21
hoogends
Aspirant

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Worked perfectly for my ReadyNAS Pro RNDP600E !!

Including "cd /root/softether/vpnserver"     Smiley Happy

 

Wil do the same on my other NAS (ReadyNAS RNDP6000v2) that stands on remote site
(My brothers place Smiley Happy  )

 

Thanks !!
PS:  Why is the App not updated ?

Message 5 of 21
StephenB
Guru

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400


@hoogends wrote:


PS:  Why is the App not updated ?


It's not Netgear's app, so that would be a question for the app developer.

Message 6 of 21
Laureijs
Aspirant

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

I used the combined info above on a ReadyNAS 516:

 

apt-get update
apt-get upgrade (don't do this, it is not recommended by Netgear and can do damage).
apt-get install build-essential
apt-get install make libc6-dev gcc gdb libtag1-dev uuid-dev

mkdir /root/softether
cd /root/softether

Wget http://www.softether-download.com/files/softether/v4.25-9656-rtm-2018.01.15-tree/Linux/SoftEther_VPN...

 

tar xvf softether-vpnserver-v4.25-9656-rtm-2018.01.15-linux-x64-64bit.tar.gz

cp -avr /apps/vpnserver/bin/vpn_server.config /root/softether/vpnserver/
cp -avr /apps/vpnserver/bin/vpn_server.config.save /root/softether/vpnserver/

cd /root/softether/vpnserver

 

make

1
1
1

cp -avr /root/softether/vpnserver/* /apps/vpnserver/bin/arm
cp -avr /apps/vpnserver/bin/arm/* /apps/vpnserver/bin
cd /apps/vpnserver/bin/arm

./vpncmd
3
check
exit

cd /apps/vpnserver
chown -R admin:admin bin/


rm -rf /root/softether

 

 

just to confirm.

 

Message 7 of 21
StephenB
Guru

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400


@Laureijs wrote:

apt-get upgrade

 


This particular step is not recommended, and can create issues with the ReadyNAS application.

 

So I suggest skipping that one.

Message 8 of 21
Laureijs
Aspirant

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

yes

 

can't i edit my previous post?

Message 9 of 21
StephenB
Guru

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400


wrote:

can't i edit my previous post?


There is a time limit, which is probably exceeded.  But I have the rights to change it.  Do you want to remove the apt-get upgrade, or change something else?

Message 10 of 21
Laureijs
Aspirant

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

oh, ok i wasn't aware of a time limit but that explains it

 

Yes, i would like you to strikethrough the: apt-get upgrade

and add a warning about it

 

Message 11 of 21
StephenB
Guru

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400


@Laureijs wrote:

 

Yes, i would like you to strikethrough the: apt-get upgrade

and add a warning about it

 


Done Smiley Happy

Message 12 of 21
Laureijs
Aspirant

Re: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Thanks !

Message 13 of 21
HellSpawn
Aspirant

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Hi i try to use this Tutorial on my ReadyNas 212. But it not works.

i can not run the command "make"

 

here ist what i have:

 

root@Mando-NAS:~# root@Mando-NAS:~# apt-get install build-essential
-bash: root@Mando-NAS:~#: command not found
Building dependency tree
Reading state information... Done
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:
build-essential : Depends: gcc (>= 4:10.2) but it is not going to be installed
Depends: g++ (>= 4:10.2) but it is not going to be installed
Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

 

is there any way to add new source to sourcelist to get the archive package for build essential?

 

my source list:

 

deb https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main

deb http://mirrors.kernel.org/debian jessie main
deb http://security.debian.org/ jessie/updates main
deb http://archive.debian.org/debian etch main
deb http://mirrors.edge.kernel.org/debian/pool/main/b/build-essential/ stable main
deb https://deb.sipwise.com/debian/pool/main/d/dpkg/ stabel main
deb https://cloudfront.debian.net/debian-archive/debian/pool/main/d/dpkg/ jessie main
deb http://ftp.us.debian.org/debian stable main contrib
deb http://old.kali.org/kali/pool/main/m/make-dfsg/ jessie main

 

Message 14 of 21
Sandshark
Sensei

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Debian 8 has been archived, so in order to install anything, you have to make some changes.  See How-I-got-apt-update-and-install-to-work-with-Debian-Jessie.

Message 15 of 21
HellSpawn
Aspirant

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Hi, tanks for a quick answer. I follow instruction in the tread. Install build essentianl was without error, but after i want to update the softether vpn in step where i should use command "make" i have follow errors:

 

/usr/bin/ld: failed to merge target specific data of file lib/libncurses.a(lib_slkclear.o)
/usr/bin/ld: error: Source object lib/libncurses.a(lib_slktouch.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libncurses.a(lib_slktouch.o)
/usr/bin/ld: error: Source object lib/libz.a(compress.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(compress.o)
/usr/bin/ld: error: Source object lib/libz.a(uncompr.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(uncompr.o)
/usr/bin/ld: error: Source object lib/libz.a(deflate.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(deflate.o)
/usr/bin/ld: error: Source object lib/libz.a(inflate.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(inflate.o)
/usr/bin/ld: error: Source object lib/libz.a(inftrees.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(inftrees.o)
/usr/bin/ld: error: Source object lib/libz.a(trees.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(trees.o)
/usr/bin/ld: error: Source object lib/libz.a(zutil.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(zutil.o)
/usr/bin/ld: error: Source object lib/libz.a(adler32.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(adler32.o)
/usr/bin/ld: error: Source object lib/libz.a(crc32.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(crc32.o)
/usr/bin/ld: error: Source object lib/libz.a(inffast.o) has EABI version 0, but target vpnserver has EABI version 5
/usr/bin/ld: failed to merge target specific data of file lib/libz.a(inffast.o)
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'main' failed
make[1]: *** [main] Error 1
make[1]: Leaving directory '/root/vpnserver'

Message 16 of 21
HellSpawn
Aspirant

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

i manage to update the Softether from this Topic https://www.vpnusers.com/viewtopic.php?t=68597&p=100193

 

but when i connect to server via SoftEther VPN Server Manager it shows me that the old Version is installed? Bug?

 

Zrzut ekranu 2023-12-02 211138.png

Is there any SoftEther Admin Web UI on the Server?

is this right that i have in app/vpnserver/bin a /arm folder? this ist the same what in the /bin is? right?

 

 

Message 17 of 21
Sandshark
Sensei

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

I don't know about SoftEther explicitly, but there is a very good chance that the version of required dependencies for the latest version are not available for Debian 8 and the version you are showing may be the last one that will work on it. You will likely get a more definitive response in the forum where you found the post you linked.

Message 18 of 21
HellSpawn
Aspirant

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Hi again, here is my Instruction to update the VPN SoftEther on ReadyNas 212:

 

first edit the Source List

-------------------------------

source list - etc/apt/sources.list

*********************************

deb https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main

 

deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free
deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-free
deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main contrib non-free

------------------------------------------------------------------------------------------------------

 

after that you need to create apt.conf file in /etc/apt

 

copy this to apt.conf and save:

 

Get::AllowUnauthenticated true;
Acquire::Check-Valid-Until false;

----------------------------------------------------------------

now you are redy to go:

 

apt-get update
apt-get upgrade (don't do this, it is not recommended by Netgear and can do damage).
apt-get install nano
apt-get install build-essential
apt-get install make libc6-dev gcc gdb libtag1-dev uuid-dev

 

mkdir /root/softether

cd /root/softether

 

wget https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VP...

 

tar xvf softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-arm_eabi-32bit.tar.gz

 

cp -avr /apps/vpnserver/bin/vpn_server.config /root/softether/vpnserver/
cp -avr /apps/vpnserver/bin/vpn_server.config.save /root/softether/vpnserver/

 

cd /root/softether/vpnserver

 

make (or "./.install.sh")

1 (skip this - not shows)
1 (skip this - not shows)
1 (skip this - not shows)

 

cp -avr /root/softether/vpnserver/* /apps/vpnserver/bin/arm
cp -avr /apps/vpnserver/bin/arm/* /apps/vpnserver/bin

 

cd /apps/vpnserver/bin/arm

 

./vpncmd
3
check
exit

 

cd /apps/vpnserver
chown -R admin:admin bin/


rm -rf /root/softether

 

 

Message 19 of 21
HellSpawn
Aspirant

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

my only problem is that i can not show new Version in SoftEther VPN Manager Server (windows app).

 

in putty i can see the new version but in windows app show only the old one:

 

Zrzut ekranu 2023-12-04 165746.pngZrzut ekranu 2023-12-04 165652.png

is there any way to show the new Version in VPN Manager?

Message 20 of 21
HellSpawn
Aspirant

Betreff: How can I update SoftEther VPN App to Newest Version - ReadyNAS 10400

Hi there, i menage to install the last SoftEther VPN Server beta version on my ReadyNas 212 successful and i would like to give you all the new Solution (works 100%):

 

first edit the Source List

-------------------------------

source list - etc/apt/sources.list

*********************************

 

deb https://apt.readynas.com/packages/readynasos 6.10.8 updates apps main


deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie main contrib non-free
deb [trusted=yes] http://archive.kernel.org/debian-archive/debian jessie-backports main contrib non-free
deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-free
deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main contrib non-free

 

------------------------------------------------------------------------------------------------------

 

after that you need to create apt.conf file in /etc/apt

 

copy this to apt.conf and save:

 

Get::AllowUnauthenticated true;
Acquire::Check-Valid-Until false;

 

----------------------------------------------------------------

 

Shut down (off) the VPN App in Admin WEB ReadNAS

 

now you are redy to go:

 

 

apt-get update
apt-get upgrade (don't do this, it is not recommended by Netgear and can do damage).
apt-get install nano
apt-get install build-essential
apt-get install make libc6-dev gcc gdb libtag1-dev uuid-dev

 

 

 

mkdir /root/softether

cd /root/softether

 

 

 

wget https://www.softether-download.com/files/softether/v4.43-9799-beta-2023.08.31-tree/Linux/SoftEther_VPN_Server/32bit_-_ARM_EABI/softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-arm_eabi-32bit.tar.gz


tar xvf softether-vpnserver-v4.43-9799-beta-2023.08.31-linux-arm_eabi-32bit.tar.gz

 

 

 

cd /root/softether/vpnserver


make (or "./.install.sh")

1 (skip this - not shows)
1 (skip this - not shows)
1 (skip this - not shows)


cp -avr /root/softether/vpnserver/* /apps/vpnserver/bin/arm
cp -avr /apps/vpnserver/bin/arm/* /apps/vpnserver/bin


cd /apps/vpnserver/bin/arm

 

 

 

./vpncmd
3
check
exit


cd /apps/vpnserver
chown -R admin:admin bin/


rm -rf /root/softether

 

 

You can access the VPN WEB Admin Site:

https://ip_address_of_the_vpn_server:5555

 

Zrzut ekranu 2024-02-29 183404.png

 

Zrzut ekranu 2024-02-29 183014.png

 

Message 21 of 21
Top Contributors
Discussion stats
  • 20 replies
  • 15623 views
  • 4 kudos
  • 9 in conversation
Announcements