Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Softether VPN Install Problem (SSL3Method, Compil, ...)

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Fullnegi
Posts: 2
Joined: 2017-12-30 15:18

Softether VPN Install Problem (SSL3Method, Compil, ...)

#1 Post by Fullnegi »

Hello !
I'm new and a don't know if I post this on the right place :s
I installed a Debian 9.2.1 (64bit) on my computer that will be used as a server.
I tried to install Softether VPN with different method but it always failed.

With this method :
:arrow:

Code: Select all

sudo apt-get install zliblg-dev libncurses5-dev libssl1.0-dev build-essential libreadline-dev git
sudo ldconfig
mkdir ~/source
cd ~/source
git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git
cd SoftEtherVPN/src/Mayaqua
mv Network.c Network.c.orig
cat Network.c.orig | sed ‘s!SSLv3_method!SSLv23_client_method!g’ > Network.c
cd ../..
./configure
make
sudo mv bin/vpnserver /usr/local
[create /etc/init.d/vpnserver script]
sudo chmod a+x /etc/init.d/vpnserver
sudo update-rc.d vpnserver defaults
I have a error message when i try :

Code: Select all

cat Network.c.orig | sed ‘s!SSLv3_method!SSLv23_client_method!g’ > Network.c
bash: !SSLv3_method!SSLv23_client_method!g’: event not found
I supposed this is dued to OpenSSL (I heard that there is a compatibilty problem on the net : ? )
I tried to remove openSSL1.1.x but I failed to compil openSSL1.0.1 so I reinstall 1.1.x
I also tried to install zlib1g-dev instead of zliblg-dev

:arrow: Second method is from : https://www.digitalocean.com/community/ ... -softether
So I download the FreeBSD sources, and when I try à "make" , it answer :

Code: Select all

a lot of other mistakes lines like :
/usr/bin/ld: lib/libz.a(inffast.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompilez avec -fPIC
/usr/bin/ld: lib/libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompilez avec -fPIC
/usr/bin/ld : échec de l'édition de liens finale : Section non-représentable sur la sortie
collect2: error: ld returned 1 exit status
Makefile:18 : la recette pour la cible « i_read_and_agree_the_license_agreement » a échouée
make[1]: *** [i_read_and_agree_the_license_agreement] Erreur 1
make[1] : on quitte le répertoire « /root/vpnserver »

Should I downgrade to Debian 8 ?
How can I dowgrade to OpenSSL1.0.1 and have no compatibilty problem with other instance ?
Can someone please help me ?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Softether VPN Install Problem (SSL3Method, Compil, ...)

#2 Post by GarryRicketson »

I installed a Debian 9.2.1 (64bit) on my computer that will be used as a server.
The BSD's are not even close to Linux,
So I download the FreeBSD sources, and when I try à "make" , it answer :
No where in the instructions does it tell you to use the "FreeBSD" sources,
for Linux, or Debian.
Now choose Linux and in the next page choose SoftEther VPN Server. Depending on your server hardware architecture, choose a
I don't think it is a very good idea to be trying to install this to Debian, any way:
https://wiki.debian.org/DontBreakDebian

Fullnegi
Posts: 2
Joined: 2017-12-30 15:18

Re: Softether VPN Install Problem (SSL3Method, Compil, ...)

#3 Post by Fullnegi »

As this post says, it is absolute possible to install Softether on a Linux architecture ( see here on Softether forum : http://www.vpnusers.com/viewtopic.php?f=7&t=8476 )
And multiple tutorial said how to : ( https://linuxconfig.org/setting-up-soft ... erus-linux, https://www.digitalocean.com/community/ ... -softether )

For Linux, you may install the Linux sources, but for debian, I tried both (and reinstall debian before try the other one) and I have the same error.

I also found this post : https://github.com/SoftEtherVPN/SoftEtherVPN/issues/301 (where I found the "compatibilty problem" : Debian 9 comes with openssl-1.1.0, which is not compatible with openssl-1.0.X )


Someone "debianized" the sources and made a Build resultats, but I don't know how to use it.
hello, i have already debianized and packaged it for parrotsec.org which is based on debian testing
here you can find the debianized source code
https://dev.parrotsec.org/parrot/softether-vpn
and here you can download the build results
https://archive.parrotsec.org/parrot/po ... tether-vpn

Bulkley
Posts: 6382
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Softether VPN Install Problem (SSL3Method, Compil, ...)

#4 Post by Bulkley »

[quote="Fullnegi"]Someone "debianized" the sources and made a Build resultats, but I don't know how to use it.[quote]

You may find that no one here knows.

Post Reply