'SSH Config ProxyJump - Port forwarding from proxy

i have a question regarding port forwarding in combination with proxy jump in my ssh config:

Is it possible to make use of DynamicForward from the host used as proxy? Here's my config:

Host proxy
    HostName proxy.private.com
    User user
    IdentityFile ~/path/to/file
    DynamicForward 3000

Host target
    HostName target.somewhere.com
    User user
    IdentityFile ~/path/to/file
    ProxyJump proxy

It does not work with this config, but this would be exactly what i need. Any tips on how to get it to work?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source