Get Our Premium Ethical Hacking Bundle (90% Off): https://nulb.app/cwlshop
How to Use Port Forwarding to Access Tools & Services Remotely
Full Tutorial: https://nulb.app/x48k8
Subscribe to Null Byte: https://vimeo.com/channels/nullbyte
Subscribe to WonderHowTo: https://vimeo.com/wonderhowto
Michael’s Twitter: https://twitter.com/the_Hoid
Cyber Weapons Lab, Episode 189
Many services and tools we cover on Null Byte only run on the local network by default. In this episode of Cyber Weapons Lab, we’re showing how to configure a router so that you can access those services and tools from the broader internet.
Ports are channels that computers use to communicate with each other. A certain port may be using a certain protocol, like SSH, which is usually assigned to port 22. If you’ve ever had a Raspberry Pi, and wanted to connect to it from your laptop, then you might have set it up on the local network and SSHed in. You’d pull up a terminal on your laptop, and use something like the local IP and your port, and the login credentials, to gain access to your SSH shell on the Pi.
Now, if you’re not on your local network, but you still want to access your Raspberry Pi that’s still on your local network, that’s where port forwarding comes into play.
Your ISP provides one public IP to the router at your home, and that router is blocking all those ports from coming in and out of your house. Port forwarding is a rule that lets the router know that an incoming port to your public IP needs to be sent to a specific IP on your local network with this particular port. Ports don’t have to match, like 9022 coming to public IP, then out to the Pi at port 22. Once set up, you could remotely connect to the Pi from a non-local network.
To learn more, check out the article: https://nulb.app/x48k8
Follow Null Byte on:
Weekly newsletter: https://eepurl.com/dE3Ovb