• April 19, 2024, 12:37:41 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: 1 2 [3] 4

Author Topic: Add-on "SoftEther VPN Server" for D-Link NAS  (Read 53462 times)

wieserdk

  • Level 1 Member
  • *
  • Posts: 4
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #30 on: March 19, 2015, 07:53:55 AM »

Hi, I've installed the SoftEther VPN Server plugin on DNS-320L, and when I'm trying to configure it I receive en error:

root@SUN:/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin# ./vpncmd   
-- Alert: SoftEther VPN Kernel --
String Library Init Failed.
Please check your locale settings and iconv() libraries.

What can it be?
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #31 on: March 19, 2015, 08:34:31 AM »

root@SUN:/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin# ./vpncmd   
-- Alert: SoftEther VPN Kernel --
String Library Init Failed.
Please check your locale settings and iconv() libraries.

Show the result of the command
Code: [Select]
ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

wieserdk

  • Level 1 Member
  • *
  • Posts: 4
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #32 on: March 19, 2015, 08:51:19 AM »


Show the result of the command
Code: [Select]
ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver

Hmm..

root@SUN:~# ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver
-sh: ldd: command not found
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #33 on: March 19, 2015, 10:29:02 AM »

root@SUN:~# ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver
-sh: ldd: command not found

You have a very old version of sshd or ssh is not my build. I recommend to install the addon "Midnight Commander"
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #34 on: March 19, 2015, 04:58:42 PM »



Where did you get the binaries vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2 ?
[/quote]

I get the binaries from this link https://github.com/SoftEtherVPN/SoftEtherVPN/

Not sure why it doesn't work
Logged

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #35 on: March 19, 2015, 10:11:46 PM »

root@SUN:~# ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver
-sh: ldd: command not found

You have a very old version of sshd or ssh is not my build. I recommend to install the addon "Midnight Commander"
This was what I found out the hard way.
I use Winscp to access root directory. After installing Fun Plug, WinScp failed to execute copy, edit and transfer commands.
The only add-on that work was "Midnight Commander."
I have got the whole thing to work again after to installing SSHD then reinstalled Fun_plug. (A built-in ssh at Fun Plug was the main cause)
These steps help to reactivate all of Winscp's functions.

p.s:..... if you forget your root's access password, use Fun Plug
Logged

wieserdk

  • Level 1 Member
  • *
  • Posts: 4
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #36 on: March 19, 2015, 11:01:24 PM »

root@SUN:~# ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver
-sh: ldd: command not found

You have a very old version of sshd or ssh is not my build. I recommend to install the addon "Midnight Commander"

Hey, that helped partially. I mean now I have ldd, but still vpnserver or vpncmd are not working:

root@SUN:/ffp/lib# ldd /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver
   not a dynamic executable
« Last Edit: March 19, 2015, 11:08:25 PM by wieserdk »
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #37 on: March 20, 2015, 01:09:18 AM »

I get the binaries from this link https://github.com/SoftEtherVPN/SoftEtherVPN/
Not sure why it doesn't work

On https://github.com/SoftEtherVPN/SoftEtherVPN no ready binaries!
You can compile only this:
https://github.com/lancethepants/SoftEtherVPN-arm-musl-static
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #38 on: March 20, 2015, 01:28:41 AM »

Hey, that helped partially. I mean now I have ldd, but still vpnserver or vpncmd are not working:

Try this:
Code: [Select]
export TERM=xterm
export PATH=/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin
export LANG=en_US.UTF-8
export LC_ALL=C
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver start
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

wieserdk

  • Level 1 Member
  • *
  • Posts: 4
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #39 on: March 25, 2015, 05:58:26 AM »

Hey, that helped partially. I mean now I have ldd, but still vpnserver or vpncmd are not working:

Try this:
Code: [Select]
export TERM=xterm
export PATH=/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin
export LANG=en_US.UTF-8
export LC_ALL=C
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/vpnserver start

Yep, that's it. It works, but only till I restart the device. Where should I add this line to have it permanently?
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #40 on: March 25, 2015, 09:48:46 AM »

I don't understand the question. To install the addon and run. Mentioned in a previous post commands are executed in the startup script - /mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/start.sh
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #41 on: April 10, 2015, 07:11:49 AM »

Hi vtverdohleb,
I am installing Softether VPN Client on DNS-320L.
It seems the NAS don't have "make" command. I would appreciate if you could give me some tips to install this command.

Listed below are the problems I encountered using PuTTy........
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
SoftEther VPN Client (Ver 4.15, Build 9546, ARM EABI) for Linux Install Utility
Copyright (c) SoftEther Project at University of Tsukuba, Japan. All Rights Reserved.

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


Do you want to read the License Agreement for this software ?

 1. Yes
 2. No

Please choose one of above number:
1

cat: ReadMeFirst_License.txt: No such file or directory

Did you read and understand the License Agreement ?
(If you couldn't read above text, Please read 'ReadMeFirst_License.txt'
 file with any text editor.)

 1. Yes
 2. No

Please choose one of above number:
yes

Please choose one of above number:
1


Did you agree the License Agreement ?

1. Agree
2. Do Not Agree

Please choose one of above number:
1

/mnt/HD/HD_a2/Nas_Prog/vpnclient/.install.sh: line 81: make: command not found

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

Please help
mmmmx
 
Logged

chamalo76

  • Level 1 Member
  • *
  • Posts: 1
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #42 on: April 10, 2015, 12:25:35 PM »

hi mmmX,
i'm french...sorry for my english

I have a dns320l nas with add-on softetherVPN.

I am unable to access the NAS with the tutorial.
Logging Into virtual hub is ok, softerther assigned IP 192.168.30.10 but I can 't managed to access my private NAT IP at 192.168.0.38.

I view other network thing like 192.168.0.11

what the problem ?
Logged

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #43 on: April 10, 2015, 07:18:26 PM »

hi mmmX,
i'm french...sorry for my english

I have a dns320l nas with add-on softetherVPN.

I am unable to access the NAS with the tutorial.
Logging Into virtual hub is ok, softerther assigned IP 192.168.30.10 but I can 't managed to access my private NAT IP at 192.168.0.38.

I view other network thing like 192.168.0.11

what the problem ?
Hi chamalo76,

Judging from the assigned IP of 192.168.30.10, I assume you have activated "Virtual NAT and Virtual DHCP (SecureNAt)" or simply SecureNAT. Your intention was to access your NAS which is located at IP 192.168.0.38 to no avail. Is this correct?

Once SecureNAT is activated, you ought to be able to access all ip in the network including the ip of DNS-320L. (**** make sure you don't turn on local bridge for the Virtual Hub that is SecureNAT-activated)

However, there is another issue with DNS-320L. It is cheap and a single core machine that does little multi-tasking.
I have similar problems before. Whenever I log into virtual HUB under SecureNAT and other workers at my office carry out large files transfers thru DNS-320L simultaneously, DNS-320L freezes up. (Sometimes, it waited long duration before web interface come up)
To verify this, goto DNS-320L, Management, System status, Resource Monitor, you will notice CPU's utilisation shoot up to 100%.

To overcome this problem, I installed 1 dedicated unit of NAS for softether, another NAS just for files storage.

Hope this solves your problems

mmmmx


« Last Edit: April 10, 2015, 07:39:24 PM by mmmmx »
Logged

texas_72

  • Level 2 Member
  • **
  • Posts: 28
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #44 on: May 06, 2015, 05:42:48 AM »

Hi vtverdohleb,
I already tested in my DNS-325 Zerotier, but it doesn't work with private NAT IP.
Everything works with Softether, I can access all ip of my home network, except my Nas. :'( :-\
Thanks

Hi texas_72,

I may have found a solution to our common problem to access our private NAT IP.
Do the followings:
Create a new Virtual Hub, Create as many users as you wish.
Under "Manage Virtual Hub", click on "Virtual NAT and Virtual DHCP Server(Secure NAT)", Click "Enable SecureNAT"
Check the "SecureNAT Configuration", you will notice the default Distributes IP Address is 192.168.30.10, default gateway 192.168.30. 1 (This is fine).
You may exit from here.

Next, ***********very very important**********
Do Not create "Local Bridge" for this Virtual Hub............

All done. It works well for me.
Upon logging into virtual hub, my assigned ip was 192.168.30.10. I managed to access my private NAT IP at 192.168.2.1 and view every other network folder.

Hi mmmmx,
great news, i try and let you know

Many Thanks

Hi
it works ok for me, but there is a problem with softether started, applications zoneminder, Serviio, phpmyadmin, I respond "500-Internal Server Error", any ideas?

It could be a problem of doors!!!!!!!!!

http://192.x.x.x/zm/    -> not found
http://192.x.x.x/serviio/console/     -> not found
http://192.x.x.x:9091/transmission/web/      ->FOUND

 ::) ??? ??? ???
« Last Edit: May 06, 2015, 07:59:42 AM by texas_72 »
Logged
Pages: 1 2 [3] 4