Discussing Linux networking techniques.
Discussing Linux networking techniques.
I have an Ubuntu desktop connected via a router at school. I need to open port 80 so my website is accessible online. I already know how to allow the firewall port but struggle with port forwarding. Should I set up a virtual machine running Linux to act as a router and handle the forwarding?
It’s highly unlikely your school will let you forward any ports, particularly port 80. You definitely can’t circumvent their firewall, and it’s possible this request violates the forum’s rules.
Because it's at school, we run our own server and I don’t have access since we don’t have a dedicated IT staff member. That’s why I’m checking if there are alternative methods to forward ports. P.S. I understand basic port forwarding through routers.
Focus on the steps you need to follow.
Understand the process clearly.
Pay attention to the details involved.
Similar to configuring a router on Linux? Create virtual network bridges, designate one as your LAN and another as your WAN. Connect the router to both networks.
Port forwarding takes place on the network segment where the internet connects and directs traffic. It's managed by the school's firewall. You're likely safe from unauthorized attempts to access ports like 80 unless you're connecting directly from outside. If you need more control, consider using a home ISP instead.
You need access to your school's router; emulating it isn't possible because your data still needs to pass through the actual device. After securing that, look for a section like "port forwarding" or similar. There, you can assign your internal IP address and port (such as 80) and the external port you choose. Since the router is separate from the modem, you must also configure it in the modem, using the router's IP address relative to the modem.