dhruvinsh / ws-ephemeral

setup ephemeral port on the windscribe VPN service
GNU General Public License v3.0
25 stars 7 forks source link

FR: ability to run custom script after getting the port #12

Open vnghia opened 1 year ago

vnghia commented 1 year ago

As title, instead of supporting only qbit like at the moment, I am suggeting we expand the support to any custom script in a specific folder or so.

I can send a PR if you want. The port we get from Windscribe can be made available to custom scripts by an environment variable.

dhruvinsh commented 1 year ago

I am suggesting we expand the support to any custom script in a specific folder or so.

Interesting proposal. What type use case are you thinking of?

vnghia commented 1 year ago

Well for example, if you run the VPN using gluetun, you will have to change an env everytime the port change https://github.com/qdm12/gluetun/issues/426. Also there are applications that we want to put under a VPN that will need to update these port similarly, qbit is just one of the most famous.

dhruvinsh commented 1 year ago

Feel free to propose implementation via pull request created, we can discuss over there.

Ps. I would like to have first class support for Gluetun though.