This is best for publish local project to internet use own public server. For example i have localhost port 80 on my local and planning publish it.
First create your port forwading first and connect to own public server.
ssh -L [new_port_forward]:[new_host_forward]:[ip_host_remote_port] root@localhost -p 2200
or you can use -T without tty terminal
ssh -T -L [new_port_forward]:[new_host_forward]:[ip_host_remote_port] root@localhost -p 2200
Next open new terminal again on your local