Create a VPN gateway on Fedora

I need to share a VPN connection that is established on my Fedora machine (Workstation) with the network I’m joined in. Other clients in the network need to use my Fedora machine as proxy (http or socks).
Some third-party VPN applications available on Linux do this, but how can I do that using NetworkManager?