SoftEther VPN client configuration for Linux

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Cleric
Posts: 3
Joined: Wed May 27, 2015 9:10 pm

Re: SoftEther VPN client configuration for Linux

Post by Cleric » Tue Jun 02, 2015 6:56 am

In case you already have working configuration on Windows you can try and simply copy the vpn_client.config file from the windows machine to the vpnclient directory on your board. Just make sure the vpnclient is stopped while you copy the config. Then start it again.

Another way is remote-configure the board's vpn client. You can do it as follows:
1. Connect your laptop and board in such a way that they can access each other through IP (for example connecting them to the same home router).
2. On the raspberry go to the vpnclient directory
3. Call './vpnclient start' (make sure you're root)
4. Call './vpncmd localhost /client'
5. You should have the admin prompt "VPN Client>".
Type "RemoteEnable" and enter.
This will allow you to configure the vpnclient from hosts other than localhost.
6. On the windows laptop hit the Start button and find the SoftEther VPN Cleint group and then "Manage Remote Computer's SoftEther VPN Client".
7. Type the board's ip address and hit OK.
8. Now you can configure everything in the same way as you did it on the windows laptop. Please note the NAME you give to the vpn connection.


Then, no matter whether you copied the config or you remote configged it you'll need to invoke this for connection:
./vpncmd localhost /client /cmd AccountConnect <the_name_of_the_connection>

To disconnect
./vpncmd localhost /client /cmd AccountDisconnect <the_name_of_the_connection>
To get info about connection
./vpncmd localhost /client /cmd AccountStatusGet <the_name_of_the_connection>

Hope that works.

Post Reply