Port forwarding without router using Localtunnel Localtunn | 🎩BLACK HAT🎩
Port forwarding without router using Localtunnel
Localtunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings. It will assign you a unique public URL that will forward all requests to your locally running web server.
We need to go to localhost running on our localhost using apache2. This is a simple web page to showcase an example.
This works on our port 80, so we need to forward our port 8 using localtunnel to access our localhost on the internet:
lt --port 80
By opening the link received in the terminal, we will get access to our local host from anywhere on the Internet. Before that, we had a warning page (first time only) to prevent spam or misuse of the service.