Skip to content

Homelab info

Problem:

Want to be able to access hosts and services while not at home, however dual wan with neither having port forwarding as an option. This removes the ability to point http/https (80/443) traffic at my public IP address(es). To mitigate, there are a couple options, 1) use cloudflare tunnels https://blog.cloudflare.com/ridiculously-easy-to-use-tunnels/ OR setup VPN on a server with a public IP, connect to my internal hosts using VPN, then use a proxy to relay the traffic. I tend to go with the latter option as it gives me control. In this case I will be using an ec2 host (t3.nano - v1, 0.5g memory, 20gb storage) running Amazon Linux 2.

This is the setup we will have after this:

Internet <---> [ ec2-host (exit) ]<------> { VPN } via Wireguard/Tailscale /----> [ Home network ] <------> {server} ]

To start