Configure Port Forwarding to Create Internet-Connected Services [CWL-189]

Get Our Premium Ethical Hacking Bundle (90% Off):

How to Use Port Forwarding to Access Tools & Services Remotely
Full Tutorial:
Subscribe to Null Byte:
Subscribe to WonderHowTo:
Michael’s Twitter:

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:

Follow Null Byte on:
Weekly newsletter:

Likes: 0