Currently the callback script runs every time the port is reobtained, but for some cases (e.g. Plex where we cannot re-map the local port) we would want to run a command just once (for a proxy on that port) after establishing the connections.
E.g. for Plex 32400 is fixed as the local port, and we need to locally forward the outward forwarded port to that, within the network namespace:
We would want to put the last command in a script, but need to pass in the port 42754 there which we'll get from the ProtonVPN port forwarding in vopono (note 10.200.1.2 is the local IP address of the network namespace).
Currently the callback script runs every time the port is reobtained, but for some cases (e.g. Plex where we cannot re-map the local port) we would want to run a command just once (for a proxy on that port) after establishing the connections.
E.g. for Plex 32400 is fixed as the local port, and we need to locally forward the outward forwarded port to that, within the network namespace:
We would want to put the last command in a script, but need to pass in the port 42754 there which we'll get from the ProtonVPN port forwarding in vopono (note 10.200.1.2 is the local IP address of the network namespace).