you have to be more specific
You know vpn has disconnects in between... And network switches to base network.. how to detect this and pass this event to code so i can block my requests to base network. This on windows
maybe u can check your ip before send every packet to internet...i mean first check your location then if its outside your contry then save that ip as your vpn ip and if it change then do other things...but i think u can use sid of that vpn or check internet adapters state
Do you have code for this? Looping over this myself is very costly.. I was looking if this could be done event trigger wise...
no i dont ...and yes thats a better solution but there is no problem with my solution if u dont care about securiy too much
If it is a simple http proxy, you can pass env vars of proxy host and port when running the program.
Обсуждают сегодня