WEB WORKBENCH

My Project Workspace

A collection of systems, experiments, and builds

🧭 Stage 9 β€” Port Forwarding (Router β†’ Ubuntu Server)

A short intro before the body. Click any field to edit.

At this stage I connect the outside world to my home server.

Up until now, everything has been running internally on my local network. Now I need to allow limited external access so the system can actually function as a real web and mail server.

🌐 Goal of this stage

I only expose the minimum required services:

Web access (HTTP / HTTPS)
Secure email access (IMAP for mobile/email clients)

Everything else remains blocked from the internet.

πŸ” Server IP target

All traffic is forwarded to the Ubuntu server’s static local IP address:

(This is the fixed IP set in Stage 3)

πŸ“‘ Ports to forward (only what is needed)

On the home router, I create port forwarding rules:

🌍 Web traffic
Port 80 (HTTP) β†’ Ubuntu server IP
Port 443 (HTTPS) β†’ Ubuntu server IP

This allows:
websites to load publicly
SSL/secure access later via Virtualmin

πŸ“§ Email access (mobile / external clients)

Port 993 (IMAPS) β†’ Ubuntu server IP

This allows:

secure email access from outside the home network
iPhone / Android mail apps to connect safely
encrypted inbox retrieval via IMAP

🚫 Everything else stays closed

No other ports are opened to the internet.

This includes:

SSH (kept internal only)
Database ports
Virtualmin admin panel (10000)

The system is intentionally locked down.
.

🧠 Why this setup is safe and minimal

This configuration ensures:

Only web traffic is publicly accessible
Only secure email retrieval is allowed externally
No unnecessary services are exposed
Attack surface is kept extremely small

βš™οΈ Important assumption

Router interfaces vary widely, so the exact steps depend on the device.

However, the logic is always the same:
Forward external port β†’ internal Ubuntu server IP β†’ same port number

🧱 Stage result

At the end of this stage:

  • Ports 80 and 443 are publicly accessible

  • IMAPS (993) is available for secure email access

  • All traffic is routed to the static Ubuntu server IP

  • No additional services are exposed externally

  • Server is now reachable from the internet (in a controlled way)

InfoAbout β€’Cookie infoβ€’Contactβ€’FAQs