I do not think you posted in the wrong place. There is however I certain fear, at least on my part, to post instructions for doing this.
The fear is not from being able to do it, it actually is quite easy, the fear is that there are HUGE security implications. A person who does not understand the process to make it work, probably does not understand the security implications. Many will say "no big deal" then quickly disappear a month later when your bank account is drained. A recent example is the pretty kick started colored lights IoT - controlled from the internet. All those who purchased said pretty lights, then followed directions, are now scrambling to recover from identity thefts.
IoT is a great concept, that carries a certain amount of risk. It is an area best explored by learning on your own, rather than asking for directions, in my opinion. Start with understanding TCP/IP addressing and routing, public versus private networks and how and WHY Network address translation (aka NAT) exists. These keywords and Google should keep you busy a while, good luck.