I have a self hosted SoftEther server. I can conenct to it, from linux without proxy and from Windows (direct / through proxy) without problem.
The script I'm using is from a tutorial page.
1.: ./vpnclient start
2.: ./vpncmd localhost /CLIENT /CMD accountconnect vpn
3.: wait for successful connection
4.: dhclient vpn_vpn (vpn interface name)
5.: ip route add <vpn_external_ip> via <local gateway> dev eth0 proto static
6.: ip route del default
7.: ip route add default via <vpn_local_gateway> dev vpn_vpn
Without (http) proxy, this script is working well.
The vpn external ip, and the vpn gateway is the same at every setting (with or without proxy).
I only changed the local gateway to 10.0.0.1 (On Windows, I'm using this IP as proxy server successfully).
Until step 6, everything is seems working, vpn reporting it's connected, can ping the <vpn_local_gateway>, even when it's not listed on "ip neigh"
When I change the default gateway, the vpn conenction is lost, stuck in "Retrying" state.
As you can assume, I'm not pro in networking, I appreciate any tips, what should I do. :)
SoftEther connection problems through proxy in Linux
-
- Posts: 15
- Joined: Mon Aug 08, 2016 10:13 am
-
- Posts: 223
- Joined: Fri Jul 03, 2015 2:21 pm
Re: SoftEther connection problems through proxy in Linux
Are you still playing with this ?
-
- Posts: 15
- Joined: Mon Aug 08, 2016 10:13 am
Re: SoftEther connection problems through proxy in Linux
Yes, I'll until I find any solution and make it work.
-
- Posts: 223
- Joined: Fri Jul 03, 2015 2:21 pm
Re: SoftEther connection problems through proxy in Linux
May you post here the result of the "Routing Table" after the seventh step takes effect ?. You said after the seventh step takes effect you loose your connection, right ?
Last edited by raafat on Fri Sep 23, 2016 11:27 am, edited 1 time in total.
-
- Posts: 15
- Joined: Mon Aug 08, 2016 10:13 am
Re: SoftEther connection problems through proxy in Linux
I'll make a detailed post about routing tables, issues, as soon as I can. (I'm not there, where the problem occures)
-
- Posts: 223
- Joined: Fri Jul 03, 2015 2:21 pm
Re: SoftEther connection problems through proxy in Linux
Looking forward to your detailed post.
Good luck (:
Good luck (:
-
- Posts: 15
- Joined: Mon Aug 08, 2016 10:13 am
Re: SoftEther connection problems through proxy in Linux
I am happy to see, that you are willing to help.
I had time to think over, what is happening, and got the problem.
Routing was fine, SoftEther was working fine.
The problem was, that I used the full domain name of the proxy.
Changing it to it's local ip, now everything is working fine.
I had time to think over, what is happening, and got the problem.
Routing was fine, SoftEther was working fine.
The problem was, that I used the full domain name of the proxy.
Changing it to it's local ip, now everything is working fine.
-
- Posts: 223
- Joined: Fri Jul 03, 2015 2:21 pm