Issue with Connecting to VPN Gate Using vpncmd on Debian

Post your questions about VPN Gate Academic Experiment Service here. Please answer questions if you can afford.
Post Reply
User_8341
Posts: 7
Joined: Mon Aug 12, 2024 8:50 am

Issue with Connecting to VPN Gate Using vpncmd on Debian

Post by User_8341 » Mon Aug 12, 2024 2:18 pm

Hello, I am trying to connect to a VPN server from VPN Gate on my Debian PC. I installed vpncmd, first through apt, and I could successfully connect to the needed server, and the "TrafficClient" test command gives expected speed results for that server. But I couldn't use the VPN connection for other apps, I ran the "Check" command and only the Network system check didn't pass. First I noticed that the interface doesn't have an IP address, I solved that with the "sudo dhclient vpn_vpn_se" command, later I noticed that the state for the vpn interface is "UNKNOWN", online it says that this issue is fixed in the newer version but the version from the apt repository is old. So I compiled and installed the new version from GitHub. In the new version the "Check" command passed fully, and now the interface state is "DOWN" because there are no active VPN connections, but now I can't connect to any VPN servers. I tried connecting to the server I need and it says "Retrying", I know the server isn't down, because I also tried connecting to it from a Windows PC and it worked. I also tried connecting to a Daiyuu Nobori server and it also kept retrying, although for that server it kept increasing the "Number of Established Connections".

An option for me is also using OpenVPN, but I don't know how I could find the config files for the server if I only have the address and port number.

I don't know what else to try, any suggestions are welcome.

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Issue with Connecting to VPN Gate Using vpncmd on Debian

Post by solo » Mon Aug 12, 2024 5:16 pm

Connect and then...

Code: Select all

ip route add 219.100.37.193/32 via 10.0.2.2
ip route del default
dhclient vpn_vpn
https://www.vpnusers.com/viewtopic.php? ... 24#p101124

BTW "public-vpn-185.opengw.net" is operational ATM.

User_8341
Posts: 7
Joined: Mon Aug 12, 2024 8:50 am

Re: Issue with Connecting to VPN Gate Using vpncmd on Debian

Post by User_8341 » Mon Aug 12, 2024 5:58 pm

Thanks for the quick reply, I have tried with the "public-vpn-185.opengw.net" server, but the situation is the same as with the other public-vpn server, it keeps retrying and increasing the "Number of Established Connections".

Is there somewhere where I could check the log for the VPN client to see on what step it exactly fails? I have heard that there is a log on the server side, but there should also be one on the client side.

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Issue with Connecting to VPN Gate Using vpncmd on Debian

Post by solo » Mon Aug 12, 2024 6:35 pm

Client-side log is useless...

Code: Select all

2024-08-12 19:11:11.891 Connection processing for VPN Connection Setting "public-vpn-185" has started.
2024-08-12 19:11:11.891 VPN Connection Setting "public-vpn-185": Connection operation starting (this is now 1 times).
2024-08-12 19:11:14.371 VPN Connection Setting "public-vpn-185": Now connected. Session name: "SID-VPN-460499-37B52CD22D"
Use the previous SE client or https://www.softether-download.com/file ... PN_Client/

User_8341
Posts: 7
Joined: Mon Aug 12, 2024 8:50 am

Re: Issue with Connecting to VPN Gate Using vpncmd on Debian

Post by User_8341 » Tue Aug 13, 2024 2:16 pm

Well, I've installed the version 5.01 build 9674 from apt (I had some issues with building from source), and it still keeps reconnecting. What version are you using?

Post Reply