vpn ip or local ip for reverse shell?

Hi Folks,

i am a complete beginner to hacking. After going through a lot of tutorials and study i was able to get the system commands working on a htb linux box through a web server. Now i understand to gain control over the box i need to get a reverse shell pointing to my kali. I opened a netcat session (nc -lvp 1234) on my kali and executed the php command on the htb box to get the shell using the vpn IP of my Kali, but no luck :(. NetCat did not catch any connections. The doubt is now, for the reverse shell what IP do i use - the local IP of the kali machine or the htb vpn ip?
Thanks in advance.

the htb vpn ip

thanks for the quick response :slight_smile:

use ngrok