Home › Forums › Discussions › Support › PostUp and PostDown
- This topic has 5 replies, 2 voices, and was last updated 11 months ago by IXSoul.
-
AuthorPosts
-
June 14, 2023 at 7:22 pm #13095
Is there a way of using PostUp and PostDown entries for WireSock in the WireSockUI?
June 15, 2023 at 9:38 am #13100Currently, that option is not available. However, I’m interested in understanding your perspective. Could you please share why you believe this feature would be beneficial?
June 15, 2023 at 8:52 pm #13103The ability to use powershell scripts on connecting and disconnecting from the VPN would be beneficial for my particular use case. For example if I want to allow only some traffic from an executable to pass via the base connection and not the VPN originating only from a subset of IPs the executable uses, I can’t do this currently with WireSock. Putting the executable in the DisallowedApps list would allow all traffic. With a powershell command, I could perform DNS queries among other things, and add these routes manually via powershell as well. This isn’t to say that I couldn’t just connect to WireSockUI and run these commands separately in powershell, because I believe you totally could. However, having it done automatically integrated into WireSock would be much more convenient!
The practical example/use case for this is imagine you are using a VPN to connect to some service in which you to mask your IP and geolocation, such as a foreign game. However, the download of the game does not send any identifying information and is handled separately (although through the same exe). Routing the download of the game to use your base internet would generally get you better throughput, but also avoid using a lot of data on the remote VPN server.
June 15, 2023 at 9:00 pm #13105I forgot to mention, in this use case the list of IPs is not known ahead of time or is too large, so it needs to be retrieved dynamically, so DisallowedIPs would not be an efficient solution here.
June 17, 2023 at 7:16 pm #13118Hmm, it might be beneficial for you to consider utilizing the command line version of the WireSock VPN Client. This allows you the flexibility to start or stop the client either as a standalone application or as a service, directly from a PowerShell script.
June 17, 2023 at 8:41 pm #13120I can do the functionality with the GUI version as well as I mentioned. However it being handled automatically by PostUp PostDown would be advantageous in terms of ease of use. But I understand, thank you
-
AuthorPosts
- You must be logged in to reply to this topic.