Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to call external command on port change.
Add support for the PF_POST_COMMAND environment variable in port_forwarding.sh. This will cause an external command to be called with the new forwarding port and the original forwarding port (as command-line arguments) every time the forwarding port changes. Use cases: - Update firewall configuration. - Update configuration of anything that needs to bind to the correct port.
- Loading branch information