Home › Forums › Discussions › Support › wiresock vpn gateway install issue
- This topic has 9 replies, 2 voices, and was last updated 1 year, 8 months ago by Vadim Smirnov.
-
AuthorPosts
-
February 26, 2023 at 4:03 am #12830
I found out that wiresock vpn gateway setup will fail on certain condition. If the windows server has only one NIC with public IP,it will end up failing to start the wireguard tunnel,here is the error message
I found out that if the windows server has public IP and only one NIC,wg-quick-config -add -start will fail
February 26, 2023 at 4:05 am #12831the error is when wg-quick-config -add -start trying to install the wireguard tunnel,it fails,I try to post the error message here,it won’t let me saying “xxxx seem like spam”
February 26, 2023 at 4:41 am #12833Starting Wireguard tunnel…
Installing Wireguard tunnel:
StdOut : ”
tdErr: ‘S t a r t i n g t h e C L R f a i l e d w i t h H R E S U L T 8 0 0 7 0 0 0 5 .February 26, 2023 at 6:44 am #12834failure on other server with one NIC and internal IP
Starting Wireguard tunnel…
Installing Wireguard tunnel:
StdOut : ”
StdErr: ‘& : The term ‘wireguard.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ &”wireguard.exe” /installtunnelservice “C:\ProgramData\NT Kernel Reso …
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (wireguard.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundExceptionFebruary 26, 2023 at 6:54 am #12835well,I am wrong about my assumption on my first post,it won’t matter public IP or not,most of my test failed,only 2 success out of 10.most case failure on installing the wireguard turnnel(“wireguard.exe” /installtunnelservice “full path of config file”).I am sure the configuration files are all in the path “C:\ProgramData\NT Kernel Resources\WireSock VPN Gateway”,wiresock.conf,wsclient_1.conf and config.json.
February 26, 2023 at 11:02 am #12837The term ‘wireguard.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.Based on this error message, it seems that WireGuard for Windows may either not be installed or hasn’t been added to the Path environment variable. It’s important to remember to restart the CMD or PowerShell console after installing WireGuard for Windows and before running wg-quick-config. This will ensure that any changes made during the installation process take effect and allow you to run the command without any issues.
February 26, 2023 at 10:51 pm #12840how about this sort of error
February 26, 2023 at 11:00 pm #12841Uninstall, reboot and try to reinstall.
February 27, 2023 at 12:36 am #12842It’s not installed yet,reboot and same result.BTW,wiresock vpn gateway won’t work on windows 2008 R2,after successfully install,the ndis driver won’t work,after a reboot,the system just die I doubt it may be related to the driver digital signing. The older version like winpkfilter 3.7.6.X works fine on windows 2008,but the latest version or even 3.3X version,won’t work on server 2008
February 27, 2023 at 1:19 am #128431. Determining the root cause of the issue is challenging without access to the MSI log. If you collect one I can check.
2. It’s important to note that SHA-1 code signing reached its end-of-life on December 1, 2020, and it’s no longer possible to sign drivers for Windows Vista/2008/7/8 using this method. However, an update for Windows 7 added support for SHA-256 code signing certificates, which may also work for Windows 2008 R2. But yes, it is sometimes a real pain to sign drivers for EOL Windows versions.
-
AuthorPosts
- You must be logged in to reply to this topic.