Trying to share OpenVPN Connection

I am trying to share an OpenVPN connection via ethernet cable through a Mac but I am unable to share it due to the config not being able to be manually added as a VPN in the Mac settings. I found a script from El Capitan that should allow me to share the connection but I am wondering if I will be able to use my Mac as normal after entering these commands in terminal and if they are compatible with Catalina or if there have been some changes made. The commands are:
sysctl -w net.inet.ip.forwarding=1
sysctl -w net.inet.ip.fw.enable=1
pfctl -f ./nat-rules -e
sudo pfctl -d
nat on utun0 from en0:network to any -> (utun0)
Also in the case that this doesn't work for sharing the VPN connection, how would I revert the settings back without having to restore the Mac.
I found a blog from "David Hamann" - "Sharing a VPN connection with another device on macOS Sierra/El Capitan" (I cannot add a link here, so it's better later google it), where you can find an explanation to share a connection from tunnelblink.

Answering your question, you can revert using:
$ sudo pfctl -e
$ sudo pfctl -F all
Trying to share OpenVPN Connection
 
 
Q