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!
Linux client/vpncmd help plz.
-
- Posts: 10
- Joined: Tue May 23, 2017 11:53 am
Re: Linux client/vpncmd help plz.
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.
> 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.
Last edited by vimal7370 on Tue Jun 20, 2017 12:48 am, edited 1 time in total.
-
- Posts: 8
- Joined: Fri Jan 06, 2017 7:19 pm
Re: Linux client/vpncmd help plz.
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..
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..
-
- Posts: 10
- Joined: Tue May 23, 2017 11:53 am
Re: Linux client/vpncmd help plz.
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 :-)
-
- Posts: 8
- Joined: Fri Jan 06, 2017 7:19 pm
Re: Linux client/vpncmd help plz.
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..
> 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..