Page 1 of 1

Vpncmd questions

Posted: Sat Jan 06, 2018 12:09 am
by MikeL
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

Re: Vpncmd questions

Posted: Mon Jan 08, 2018 9:35 am
by cedar
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.

Re: Vpncmd questions

Posted: Mon Jan 08, 2018 10:17 am
by MikeL
Thanks. That's exactly what I was looking for.

Mike