Wiresock Interface section is not present

Home Forums Discussions Support Wiresock Interface section is not present

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12335
    joq3
    Participant

      Hi,

      I just found WireSock, have been using WireGuard client on my Windows computer to connect to my NAS running Unraid with a WireGuard server.

      I exported the config-file from my NAS and I have no trouble connecting to it with the WireGuard client.

      I then installed WireSock and tried to run it like this:

      wiresock-client.exe run -config C:\Program Files\WireSock VPN Client\bin\config.conf -log-level all -lac

      When running with logs this is the output:

      2022-09-07 08:01:29 WireSock Service has started.
      2022-09-07 08:01:29 failed to open the configuration file!
      2022-09-07 08:01:29 Interface section is not present!
      2022-09-07 08:01:29 Failed to initialize Wireguard tunnel.

      What am I doing wrong?

      This is the config-file:

      [Interface]
      PrivateKey = redacted
      Address = 10.253.0.2/32
      DNS = 192.168.1.1

      [Peer]
      PublicKey = redacted
      Endpoint = vpn.redacted.com:51820
      AllowedApps = firefox
      AllowedIPs = 0.0.0.0/0

      My goal is to tunnel only the Firefox browser through the VPN, so this app is really what I need!

      #12336
      Vadim Smirnov
      Keymaster

        Hi,

        If this is the exact command line

        wiresock-client.exe run -config C:\Program Files\WireSock VPN Client\bin\config.conf -log-level all -lac,

        then you must either add quotes (path contains spaces) or remove the full path (wiresock checks the \bin folder for a config file):

        wiresock-client.exe run -config "C:\Program Files\WireSock VPN Client\bin\config.conf" -log-level all -lac

        OR

        wiresock-client.exe run -config config.conf -log-level all -lac

        Hope it helps!

         

        #13122
        bothersz
        Participant

          hi,

          i got a similar problem on windows 7 like client, the main reason was the file coding. while wiresock gui is reformatting the config file to UTF-8, the “imported” .conf file on wiresock-client.exe can’t be parsed correctly, because of the -ENTER- because of wrong file coding ;).

          thx a lot for your nice work, Mr. Smirnov.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.