Hello,
Tinkered with SoftEther VPN server on my VPS a bit and came across some awesome ppl's binary that works on my Asus RT68U running Merlin.
Got the connection made, however. my ignorance in Linux has prevented me to go further after about too many hrs of learning and trying. Seems like a good time to seek professional help!
Why do it?
SoftEther's own client-server software can establish 8+ simultaneous TCP connections and with a decent compression algorithm that can not only saturate and but also slightly increase my home Internet bandwidth.
I have tested using the Windows client. 100 Mbps cable service at College Station going to my VPS server (same 100Mbps uplink) at Dallas. I can consistently hit 120 Mbps downstream throughput using speedtest.net. Result is consistent with the max 20% efficiency claim at the official site.
In contrast to that I can only hit about 30-40 Mbps with an ovpn link running over UDP.
What has been done?
1. SoftEther VPN From lancethepants' website install on /jffs
(http://files.lancethepants.com/Binaries/SoftEtherVPN/arm/SoftEtherVPN v4.20-9608-rtm/)
2. boot script so far
What is working so far?
1. SoftEther 8-thread client-server can be made
2. Can obtain DHCP lease from server
What's the problem?
1. I am not sure if I setup the interface correctly!
2. I cannot access my vpn server side even when VPN connection is established
I am suspecting it's a route issue as the SoftEther Linux client doesn't update route setting at all (fail?)
route output w/o vpn connection:
route otuput with ovpn connection:
Few resources I have tried with CentOS and other Linx distro but w/o much luck:
1. https://blog.harshillodhi.co.in/softether-vpn-ubuntu-linux-client-configuration-behind-http-proxy/
2. http://askubuntu.com/questions/666484/setting-up-softether-vpn-client
3. https://www.rapidvpn.com/setup-vpn-softether-ubuntu
Many thanks!
Chris
Tinkered with SoftEther VPN server on my VPS a bit and came across some awesome ppl's binary that works on my Asus RT68U running Merlin.
Got the connection made, however. my ignorance in Linux has prevented me to go further after about too many hrs of learning and trying. Seems like a good time to seek professional help!
Why do it?
SoftEther's own client-server software can establish 8+ simultaneous TCP connections and with a decent compression algorithm that can not only saturate and but also slightly increase my home Internet bandwidth.
I have tested using the Windows client. 100 Mbps cable service at College Station going to my VPS server (same 100Mbps uplink) at Dallas. I can consistently hit 120 Mbps downstream throughput using speedtest.net. Result is consistent with the max 20% efficiency claim at the official site.
In contrast to that I can only hit about 30-40 Mbps with an ovpn link running over UDP.
What has been done?
1. SoftEther VPN From lancethepants' website install on /jffs
(http://files.lancethepants.com/Binaries/SoftEtherVPN/arm/SoftEtherVPN v4.20-9608-rtm/)
2. boot script so far
Code:
#enable tun dev
modprobe tun
#recreate tun interface as it is wiped at boot
ip tuntap add dev vpn_tun mod tun
ip link set dev vpn_tun up
#must to set udhcpc broastcast address
ip address add 192.168.5.0/24 dev vpn_tun
#start client binary
./vpnclient start
#connect saved connection profile
./vpncmd localhost /client /CMD accountconnect home
#get dhcp lease from server
udhcpc -i vpn_tun
What is working so far?
1. SoftEther 8-thread client-server can be made
2. Can obtain DHCP lease from server
What's the problem?
1. I am not sure if I setup the interface correctly!
2. I cannot access my vpn server side even when VPN connection is established
I am suspecting it's a route issue as the SoftEther Linux client doesn't update route setting at all (fail?)
route output w/o vpn connection:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
route otuput with ovpn connection:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.1 * 255.255.255.255 UH 0 0 0 eth0
(server ip) 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 br0
192.168.5.0 * 255.255.255.0 U 0 0 0 tun11
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.5.1 128.0.0.0 UG 0 0 0 tun11
128.0.0.0 192.168.5.1 128.0.0.0 UG 0 0 0 tun11
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Few resources I have tried with CentOS and other Linx distro but w/o much luck:
1. https://blog.harshillodhi.co.in/softether-vpn-ubuntu-linux-client-configuration-behind-http-proxy/
2. http://askubuntu.com/questions/666484/setting-up-softether-vpn-client
3. https://www.rapidvpn.com/setup-vpn-softether-ubuntu
Many thanks!
Chris
Last edited: