Vpncmd questions

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
MikeL
Posts: 10
Joined: Fri Jan 05, 2018 11:51 pm

Vpncmd questions

Post by MikeL » Sat Jan 06, 2018 12:09 am

Hi

This is my first post to the forum. I've been using Softether VPN for a few weeks and I'm very thankful for the user friendly aspect of the product in a Windows environment.

I've been using the vpncmd in a vbscript and have 2 questions regarding its use. I have tried searching with Google but have not been able to find an answer.

1. When I make a vpncmd call I get a return value of 0 if the command was executed sucessfully . If it fails there is a different return value based on the nature of the failure. Where can I find a list of the meanings for a non zero return value?

2. Is there a vpncmd command that I can invoke on a PC running VPN client that will tell me the currently configured IP address of a specific server?

Thanks
Mike

cedar
Site Admin
Posts: 2070
Joined: Sat Mar 09, 2013 5:37 am

Re: Vpncmd questions

Post by cedar » Mon Jan 08, 2018 9:35 am

1. The error messages are defined here.
https://github.com/SoftEtherVPN/SoftEth ... en.stb#L65

2. There isn't such command.
Usually, nslookup is used for that purpose.

MikeL
Posts: 10
Joined: Fri Jan 05, 2018 11:51 pm

Re: Vpncmd questions

Post by MikeL » Mon Jan 08, 2018 10:17 am

Thanks. That's exactly what I was looking for.

Mike

Post Reply