Wow, I have never thought of myself as stupid.

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
silverpigeon
Posts: 1
Joined: Sun Nov 26, 2017 10:45 pm

Wow, I have never thought of myself as stupid.

Post by silverpigeon » Sun Nov 26, 2017 11:04 pm

I have tried three times to setup softether as a home vpn server. I have a freenas server and files on various pc's that I wish to have remote access to, both with android and windows from work. Softether.org, in my opinion, isn't very noob friendly as far as tutorials and instruction. Many of the sites I have looked at regarding vpn, tout Softether as a "simple to setup, vpn cat's meow" but for the life of me I can't get it operating. It is possible that there are too many different settings in setup for my "lacking" IT experience and I get confused and give up. Can any of you give me a "plain" step-by-step layout or point me to one. I should add that I have a dd-wrt router in use also.

thisjun
Posts: 2508
Joined: Mon Feb 24, 2014 11:03 am

Re: Wow, I have never thought of myself as stupid.

Post by thisjun » Mon Dec 11, 2017 7:31 am

I think installing the VPN server in a router is difficult.
Please try to install it in a Windows host.

tinbilly
Posts: 2
Joined: Mon Jan 01, 2018 12:48 pm

Re: Wow, I have never thought of myself as stupid.

Post by tinbilly » Mon Jan 01, 2018 1:03 pm

You could refer to this https://www.dd-wrt.com/phpBB2/viewtopic.php?t=177532. I use a Netgear R6250 on dd-wrt kong ac mod.

If you attach a 1-partition usb thumbdrive to your router, that only one partition (/dev/sda1) will be mounted to /tmp/mnt/sda1. Then you should change all "sda2" to "sda1".

In step "1.1.2 Run the following line-by-line, using PuTTY", please run the following line-by-line (please note my R6250 is an armv7 router). Depending on your specific router, you might have to change to another platform (http://entware.net/about/)
wget -O - http://pkg.entware.net/binaries/armv7/i ... install.sh | sh
wget -O - http://pkg.entware.net/binaries/armv7/i ... upgrade.sh | sh
opkg install http://pkg.entware.net/binaries/armv7/g ... v7soft.ipk
opkg install http://pkg.entware.net/binaries/armv7/s ... v7soft.ipk

Visit http://entware.net for more other Entware-ng packages for your router.

To start vpnserver, run the following using PuTTY
/mnt/sda2/opt/etc/init.d/S05vpnserver start

Refer to SoftEther VPN server tutorial at:
http://bouli.ihostfull.com/?i=1

For softethervpn to suvive a router reboot, please put the following in the router's startup command (Management-Commands).

#! /bin/sh
sleep 10
if [ -f /mnt/sda1/.optware.enable ]; then
cp -a /etc sda1/
cp -a /tmp/root /mnt/sda1
mount -o bind /tmp/mnt/sda1/bin /bin
mount -o bind /tmp/mnt/sda1/etc /etc
mount -o bind /tmp/mnt/sda1/lib /lib
mount -o bind /tmp/mnt/sda1/opt /opt
mount -o bind /tmp/mnt/sda1/usr /usr
mount -o bind /tmp/mnt/sda1/root /tmp/root
/opt/etc/init.d/rc.unslung start
sleep 15
/opt/etc/init.d/S05vpnserver start
else
exit
fi
else
exit
fi

if [ -d /opt/usr ]; then
export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib'
export PATH='/opt/bin:/opt/usr/bin:/opt/sbin:/opt/usr/sbin:/bin:/sbin:/usr/sbin:/usr/bin'
else
exit
fi

Post Reply