local devices become unreacheable after some time

Home Forums Discussions Support local devices become unreacheable after some time

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13777
    zhyp
    Participant

      Hello, I’ve been using wiresock-client as a service for quite some time now, and for a while this has happened, but it never bothered me before, but now, I’ve set up a TrueNAS in my network, and from time to time it will disconnect from my computer (where wiresock-client runs), and the only fix seems to be restarting the wiresock-client service, these are both the command and config that I use:
      wiresock-client.exe install -start-type 2 -config "pathtomyconfig.conf" -log-level info -lac
      and the config:

      
      
      [Interface]
      PrivateKey = PRIKEY
      Address = 10.xxx.xxx/32, xxx.xxx.xxx.xxx.xxx.ipv6/128
      MTU = 1320
      
      [Peer]
      PublicKey = PUKEY
      PresharedKey = PSKEY
      AllowedIPs = 0.0.0.0/0, ::/0
      Endpoint = airvpn.dns.endpoint:1637
      PersistentKeepalive = 15
      
      ; WireSock extensions
      DisallowedIPs = 192.168.2.0/24
      DisallowedApps = omiting since I think is irrelevant on this scenario
      

      192.168.2.0/24 is my LAN, I have a local reverse proxy setup, accessing using the ip or domain doesn’t really matter, so for example: 192.168.2.100 or truenas.internal.domain.com gives similar results.

      In addition to what I’ve just said, sometimes some websites or IRC chats won’t load, but as soon as I restart wiresock, it connects straight away, not sure how to fix it.

      I tried to find logs, but couldn’t find anything relevant or recent to give it to you, let me know on how to get the correct logs if they are needed.

      Thanks

      • This topic was modified 6 months, 2 weeks ago by zhyp.
      #13781
      Vadim Smirnov
      Keymaster

        I have some ideas about what might be happening and just need to allocate some time to address this issue. I also suspect the problem does not occur in Transparent Mode (without the -lac command line switch). Can you confirm this?

        #13792
        zhyp
        Participant

          Hello Vadim,
          I’ll take a look at that, but since I use interface binding in qBit this may be a problem, in the next weekend I’ll run a whole day without -lac and see how it goes, thanks and good bug hunting

          #13951
          purpleyuan
          Participant

            Hi Vadim,

            I am experiencing a similar problem: some devices on the local network become unreachable after a period of time. The connection is unstable; it will reconnect and then disconnect intermittently. You are correct in that it does not appear to occur in Transparent Mode. Is there a solution to this problem? Having an interface is extremely useful for binding to a torrent client.

             

            #13954
            Krakkan
            Participant

              I also have this issue with -lac, it’s the only problem i have had.

              Currently the solution is to restart WireSock to regain access to for example a local network when using DisallowedIPs. No idea why it does this or why it stops working.

              Hope it makes sense what i mean and that it can be fixed 👍

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