Hello first time poster here and first time raspberry pi user, what I currently have is a raspberry pi 3 b+. Basically I need to be able to control the gpio's via website and be able to access my raspberry pi via website and ssh from anywhere around the world, I'm having some issues with doing this though. I have port forwarded 3 different ports and none seem to work outside of the network, I do have apache2 and php mysql and what not installed and are working, I know because I can go to the test pages of them php does display the php info page when going to it. But I cannot seem to get it to access outside of my network for some reason and was wondering if someone could come by and help me out vncing or something. The reason I need this is so I can control my 8 channel relay board I have set up to 8 outlets outside of the network if need to be I mean I'd really only know my ip or my url address unless I gave it out to everyone but I need it password protected as well.
I have an app that able to control the raspberry pi gpio pins but done through android only and I need it to be online so any device can control so long they have my password. Thank you guys so much and I'm excited to be apart of the community!