How to connect SoftEther VPN CLient in dd-wrt to a SoftEther VPN Server

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
danielks11
Posts: 1
Joined: Fri Feb 22, 2019 1:12 pm

How to connect SoftEther VPN CLient in dd-wrt to a SoftEther VPN Server

Post by danielks11 » Fri Feb 22, 2019 1:33 pm

Good Morning

I am trying to find some information about setting up a SoftEther VPN Client in dd-wrt x86_64.

I have set up a Windows VPS and installed SoftEther VPN Server and was able to connect to it on my Windows computer and Android phone using OpenVPN clients and verified it works. I also tested the SoftEther VPN Client on Windows and that worked too.

I now want to configure my dd-wrt x86_64 PC router to connect to my SoftEther VPN Server so that all my devices can be on the VPN without having to set up the client on each individual device. Plus too, I have an Amazon Fire TV and I don't want the trouble of trying to configure the client on the Fire TV.

My first instinct obviously is to set up the OpenVPN Client on the Services -> VPN page in dd-wrt, however I already have that client configured to connect to another VPN service that I pay for. I then connect my Amazon Fire TV to my dd-wrt router so that it can use my other VPN. So I do not want to interfere with my OpenVPN Client settings at the moment as it is already in use.

It would have been ideal if dd-wrt allowed for 2 simultaneous OpenVPN Client configurations that you can switch/toggle between like the Tomato firmware but I have never found any information on configuring multiple OpenVPN clients on dd-wrt.

Anyhow, I noticed at the bottom of the Services -> VPN page, there is a section called SoftEther VPN. See image below.

Image

So I figure that maybe I can enable the Client and configure it to see if I can get it to connect to my SoftEther VPN server. The only issue is that I am uncertain what to put in the Config section.

I tried exporting my SoftEther VPN Client settings to a .vpn file and copied and pasted the contents of that file into the Config section in the image above but that did not work.

I have searched online but the only info I have found regarding SoftEther and dd-wrt is where people were configuring SoftEther VPN Server on dd-wrt itself but I don't want to do that, I want to configure the client and not the Server.

So my plan is to reach out to experts in dd-wrt and SoftEther, in hopes that both parties can shed some light on how to configure this so that I can get it to work. I have already reached out to someone who deals with dd-wrt and now I am hoping someone from this forum can help from the SoftEther side of things. Hopefully, either one of you, or if I combined both sets of info, I can get I want to do to work.

So, can anyone shed some light on how the SoftEther Client should be configured on dd-wrt so that it can connect to a SoftEther VPN Server?

Thank you in advance.

Regards

isaac630
Posts: 1
Joined: Mon Mar 02, 2020 1:03 am

Re: How to connect SoftEther VPN CLient in dd-wrt to a SoftEther VPN Server

Post by isaac630 » Mon Mar 02, 2020 1:04 am

having the same exact issue. dont know how to configure client in dd-wrt

artioni81
Posts: 22
Joined: Wed Dec 25, 2019 10:56 pm

Re: How to connect SoftEther VPN CLient in dd-wrt to a SoftEther VPN Server

Post by artioni81 » Sun Mar 15, 2020 4:17 am

I'm using openwrt and I managed to set up the softethervpn client on the router by using vpncmd through SSH. After creating the interface and filled the server and user information I used the vpn-policy-routing package of openwrt to set up the routing policy based on source IP.

I do also use multiple openvpn client connections simultaneously to different vpn providers/servers simply by assigning each a different tun device (by changing the option in the .ovpn file), ex. tun0, tun1, etc. and adding the option route-noexec. By doing so, and using vpn-policy-routing each device on my network can use different vpn connection: my firestick uses a US IP, my roku device uses a UK IP, and so on...

You may use both of the solutions based on what client you choose.

OpenVPN.PNG
OpenVPN-us.PNG
OpenVPN-uk.PNG
You do not have the required permissions to view the files attached to this post.
Last edited by artioni81 on Sun Mar 15, 2020 7:07 am, edited 7 times in total.

ddunston
Posts: 22
Joined: Fri Mar 13, 2020 11:33 pm

Re: How to connect SoftEther VPN CLient in dd-wrt to a SoftEther VPN Server

Post by ddunston » Sun Mar 15, 2020 4:52 am

I don't have an openvpn server or dd_wrt set up to test or see the full page of the Softether settings so this is just a guess.

Have you checked to see if you can install the OpenVPN package for dd_wrt:

https://wiki.dd-wrt.com/wiki/index.php/ ... _in_DD-WRT

Perhaps the web interface is expecting the Softether L2TP configuration?

https://www.limevpn.com/how-to-use/dd-w ... ut-script/

artioni81
Posts: 22
Joined: Wed Dec 25, 2019 10:56 pm

Re: How to connect SoftEther VPN CLient in dd-wrt to a SoftEther VPN Server

Post by artioni81 » Sun Mar 15, 2020 7:32 am

artioni81 wrote:
Sun Mar 15, 2020 4:17 am
I'm using openwrt and I managed to set up the softethervpn client on the router by using vpncmd through SSH. After creating the interface and filled the server and user information I used the vpn-policy-routing package of openwrt to set up the routing policy based on source IP.

I do also use multiple openvpn client connections simultaneously to different vpn providers/servers simply by assigning each a different tun device (by changing the option in the .ovpn file), ex. tun0, tun1, etc. and adding the option route-noexec. By doing so, and using vpn-policy-routing each device on my network can use different vpn connection: my firestick uses a US IP, my roku device uses a UK IP, and so on...

You may use both of the solutions based on what client you choose.
VPN-policy.PNG
OpenVPN.PNG

OpenVPN-us.PNG

OpenVPN-uk.PNG
Using vpncmd isn't difficult:
  • you must SSH in your dd-wrt router
  • enter the vpncmd prompt
  • (eventually, you can enable the remote client managment with the RemoteEnable command)
  • create a virtual NIC with NicCreate
  • create the connection profile with AccountCreate
  • set it to start automatically with AccountStartupSet
You can also export the config of your laptop with AccountExport and import the file with AccountImport
or copy and paste the content of the config file in the dd-wrt Softether Client config window


For more info read the full manual

Update: if you run the client manager vpncmgr.exe or vpncmgr_x64.exe with /remote option you can connect and manage the client on the dd-wrt router, but only if you enable the remote managment as above.
You do not have the required permissions to view the files attached to this post.

Post Reply