Is it possible to narrow the allowed range of outbound ports that can be used for a specific protocol (e.g. HTTP(S))?  I understand that, by default, the system will randomly allocate any available port but is that configurable to use a specific one?
Enforce strict outbound ports (or ranges) for protocol
linux;networking;tcp