Page 1 of 1

Linux client/vpncmd help plz.

Posted: Mon Jun 19, 2017 1:51 am
by cybrute
Hi, I am having trouble connecting to my softether vpn server from a Linux client.

I have tested and everything works exceptionally well under the Windows client machine, so I believe the issue is on my client side not server.. I do not get IP with linux vpncmd.

when I create a Virtual interface on linux do i need to do anything else like create traffic rules or bridge? or it should just work as in window client?

I uploaded my client config for the linux machine and some screenshots here-

by the way, I am using Linux Mint 18.1 for client machine.

config - https://pastebin.com/igSnUxsP

Windows client - https://imagebin.ca/v/3QSgf4UoQhYt

Linux client - https://imagebin.ca/v/3QSgu3emw9TL

https://imagebin.ca/v/3QShBr2GAN6l

Thank you!

Re: Linux client/vpncmd help plz.

Posted: Mon Jun 19, 2017 4:33 pm
by vimal7370
cybrute wrote:
> when I create a Virtual interface on linux do i need to do anything else
> like create traffic rules or bridge? or it should just work as in window
> client?

Since not much is written about this subject, what to do next from this point on in Linux is always a matter of confusion. Based on your screenshots, I suggest that you should first create a static route to your VPN Server:

# ip route add 73.92.XX.XX/32 via 10.0.0.1 dev wlp3s0

Modify the 'ip route add' line (above) to the correct IP of your SoftEther VPN Server, and then try to get an IP from remote DHCP server:

# dhclient -v vpn_tun0

You should be connected to your VPN network now. When you decide to disconnect, release the dhcp ip first (dhclient -r vpn_tun0) and then modify the kernel route to how it was before you ran the script.

Re: Linux client/vpncmd help plz.

Posted: Mon Jun 19, 2017 6:10 pm
by cybrute
Woohoo! that did the trick. @vimal7370 thank you so much! shoot me a PM with your Paypal deets I'd like to buy you a beer Cheers! ;)

Really loving the difference in throughput compared to my previous OpenVPN setup... I wish Pfsense would implement this..

Alrighty now I'm off to figure out how to automate this for the family hehe..

Re: Linux client/vpncmd help plz.

Posted: Tue Jun 20, 2017 12:57 am
by vimal7370
I am glad it helped! I don't think this forum allows PMs, so in case you are hell bent in buying me a beer, send it via Paypal <my userid in this forum> at gmail dot com :-)

Re: Linux client/vpncmd help plz.

Posted: Tue Jun 20, 2017 2:05 am
by cybrute
vimal7370 wrote:
> I am glad it helped! I don't think this forum allows PMs, so in case you are hell
> bent in buying me a beer, send it via Paypal <my userid in this forum> at gmail
> dot com :-)

Check your e-mail..