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 :
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
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 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
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 ?