• October 21, 2020, 04:11:23 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 40990 times)

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #15 on: January 26, 2015, 07:06:22 AM »

I'm trying to compile a new version (Ver 4.12, Build 9514, beta), can this bug is fixed
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

texas_72

  • Level 2 Member
  • **
  • Posts: 28
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #16 on: January 26, 2015, 07:25:33 AM »

I'm trying to compile a new version (Ver 4.12, Build 9514, beta), can this bug is fixed

Hi vtverdohleb,
resolve the problem of lack of access to the same NAS, as discussed previously?

Thanks
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #17 on: January 26, 2015, 08:38:23 AM »

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

texas_72

  • Level 2 Member
  • **
  • Posts: 28
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #18 on: January 27, 2015, 12:31:26 AM »

Try this - Zerotier One
https://www.zerotier.com/admin.html
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
Logged

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #19 on: January 28, 2015, 03:30:33 PM »

Try this - Zerotier One
https://www.zerotier.com/admin.html
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
This forum attended by texas_72 gives a pretty good explanations why it failed to connect to Nas IP.
It seems the problem lies within linux internal kernel codes rather than with the SoftEther VPN
Click links to read more about.

http://www.vpnusers.com/viewtopic.php?f=7&t=3998
http://www.softether.org/4-docs/1-manual/3._SoftEther_VPN_Server_Manual/3.6_Local_Bridges#3.6.11_Points_to_Note_when_Local_Bridging_in_Linux.2C_FreeBSD.2C_Solaris_or_Mac_OS_X

Hope this helps
 
Logged

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #20 on: February 07, 2015, 05:30:32 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.
Logged

texas_72

  • Level 2 Member
  • **
  • Posts: 28
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #21 on: February 09, 2015, 01:42:59 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
« Last Edit: February 09, 2015, 01:46:54 AM by texas_72 »
Logged

jy_p

  • Level 1 Member
  • *
  • Posts: 1
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #22 on: February 14, 2015, 06:54:52 PM »

Hi all, I spent hours with this without success.  Can anyone write here how they did if they got lucky?

I have the server running on the NAS.  The configuration page works.  I created users/password.
I even created a cert/private key using the built in vpncmd tool.
I don't know if I need to do anything else on the sever. Updating the config?  SHould I set a reference to those cert & private key somewhere? 

On the client side, I'm using Android with OpenVPN client and I can't get to connect.  What options should I use?

Any other solution would be great too: You use a different VPN server? Different client?

I have OpenVPN server installed on the NAS too, but something, I can't get it to work. 

Any help would be really appreciated!
Logged

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #23 on: February 14, 2015, 10:04:48 PM »

Hi all, I spent hours with this without success.  Can anyone write here how they did if they got lucky?

I have the server running on the NAS.  The configuration page works.  I created users/password.
I even created a cert/private key using the built in vpncmd tool.
I don't know if I need to do anything else on the sever. Updating the config?  SHould I set a reference to those cert & private key somewhere? 

On the client side, I'm using Android with OpenVPN client and I can't get to connect.  What options should I use?

Any other solution would be great too: You use a different VPN server? Different client?

I have OpenVPN server installed on the NAS too, but something, I can't get it to work. 

Any help would be really appreciated!

Hi jy_p,

It will be a huge learning curve. Softether's forum doesn't offer much help either.
However, 3 quarters of your time could be reduced if you install "Softether VPN Server Manager for Windows".
Sofether works well with Iphone & PC client although I have less luck trying it on Android probably due to the fact it doesn't accept password authentication.
If I were you, I ditch OpenVPN for good. Softether's Client & Server work better on your NAS. 
In so far, I managed to turn on SecureNat; Layer 3 Switching; Layer 2 Bridge Connection; Cascade Connection; L2TP protocol, OpenVpn, MS-SSTP protocol; IP routing, Split Tunneling; Tunneling of Virtual Hubs at 3 remote locations, password authentication & Individual authentication certificates. I am looking at installing radius server authentication in the near future.
Softether works well for people who do not own broadband account and has no control over password-locked wifi router. It could tunnels thru all kind firewalls easily & securely. 

Hope this helps

It is a great Add-On, I hope vtverdohleb could supply us with the latest  VPN Build 4.14. I can never find time to do my own compilation since my DNS-320L don't support Debain Wheezy.
@ vtverdohleb, my Softether add-on crashed the 3rd time with no good reasons.

Logged

mmmmx

  • Level 1 Member
  • *
  • Posts: 22
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #24 on: March 17, 2015, 08:11:52 AM »

@ vtverdohleb

I have got 4 units of DNS-320L & 2 units of DNS-320(Older NAS) running on Softether VPN.

For the DNS-320 part, I copied and paste all Softether files into root directories, run a chmod and follows by sh start.sh start.All work.

My question now is that if I download and paste the latest version and build of source codes from Softether into the following folders.

Will it works?

Listed below are the relevant paths and folders:
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/.update.key
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/apkg
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/apkg.rc
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/apkg.sign
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/apkg.xml
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/clean.sh
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/init.sh
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/install.sh
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/preinst.sh
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/remove.sh
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/start.sh
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/stop.sh

/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/backup.vpn_server.config/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/chain_certs/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/packet_log/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/security_log/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/server_log/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/.ctl_1C79BD4470D252D066E81FD9C2250D43
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/.pid_1C79BD4470D252D066E81FD9C2250D43
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/.VPN-83976FD0DA
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/bin/hamcore.se2

/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/css/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/images/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/js/
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/gui_info.xml
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/help_SoftetherVPN.html
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/index.html
/mnt/HD/HD_a2/Nas_Prog/SoftetherVPN/web/SoftetherVPN_sub.html

Thanks for looking intommyn post
Logged

vtverdohleb

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

My question now is that if I download and paste the latest version and build of source codes from Softether into the following folders.
Will it works?

Are there any binaries for ARMv5te? I fully compiled from source code.
If you have an existing binaries, you need to replace the vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2
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 #26 on: March 17, 2015, 08:45:37 PM »

My question now is that if I download and paste the latest version and build of source codes from Softether into the following folders.
Will it works?

Are there any binaries for ARMv5te? I fully compiled from source code.
If you have an existing binaries, you need to replace the vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2

Thanks vterdohleb.

Great
I have the binaries for ARMv5te which contains   vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2.
So, it will work if I replace all of them.

Thanks again  vterdohleb
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: Add-on "SoftEther VPN Server" for D-Link NAS
« Reply #27 on: March 18, 2015, 10:41:05 AM »

Give me the binaries and I can answer for sure if it would work.
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 #28 on: March 19, 2015, 06:15:53 AM »

Give me the binaries and I can answer for sure if it would work.

I replaced all of vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2 (v4.14-9529) .
Don't seem to work.

The files i have appear to contain path rather then binaries. See below

vpnserver
#!/bin/sh
/opt/vpnserver/vpnserver "$@"
exit $?

vpnclient
#!/bin/sh
/opt/vpnclient/vpnclient "$@"
exit $?

vpnbridge
#!/bin/sh
/opt/vpnbridge/vpnbridge "$@"
exit $?

vpncmd
#!/bin/sh
/opt/vpncmd/vpncmd "$@"
exit $?




Logged

vtverdohleb

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

I replaced all of vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2 (v4.14-9529) .
Don't seem to work.

Where did you get the binaries vpnbridge, vpnclient, vpncmd, vpnserver и hamcore.se2 ?
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
Pages: 1 [2] 3 4