Set up Unraid with a VPN connection via Starlink.
Set up Unraid with a VPN connection via Starlink.
Hello, I recently switched from my slow DSL connection to Starlink. It’s significantly faster and I’m quite satisfied except for one issue: my VPN on Unraid isn’t functioning anymore. When I set up the VPN before switching to DSL, it worked perfectly, letting me access my shares and connect externally as expected. I’ve looked into the matter, but there’s limited info available for my specific needs. Starlink uses CGNAT, which prevents port forwarding, and it doesn’t officially support IPV6 yet. I’ve changed my router to a TP-Link AX5400, which restores port-forwarding and IPV6 functionality—though the WireGuard setup still fails. The handshakes don’t connect properly. I found a Reddit post suggesting using IPV6 with CGNAT to bypass Starlink, but it didn’t help much. I tried configuring Unraid to use IPv6 only for the VPN, but nothing changed. I’m at a standstill and would appreciate any advice or solutions from anyone who’s dealt with this situation. Thanks for reading my post!
Hello, You mentioned you can't forward ports with Starlink, so I explored some alternatives. The first link discusses using OpenVPN with PFSense, while the second guide covers setting up a VPN on Amazon Web Services. I’m considering keeping OpenVPN with PFSense, which could mean placing a PFSense firewall on a virtual private server. Then your home router (behind Starlink) would connect to that VPS firewall as a VPN client. External devices could join the VPS firewall via VPN, sending traffic through the secure link between the two firewalls and reaching the internal LAN for internal access. I’m still testing this approach, so PFSense might not be ideal for a Starlink setup. It also adds extra costs due to VPS usage and data usage on the server. Another option is Splashtop, which seems to offer remote access in a different format. Edited January 29, 2022 by Cameron559933 – I wanted to clarify my point.
I believe running an OpenVPN server on a VPS provides a more cost-effective approach, since you only incur hosting costs. AWS provides a 12-month free trial, though alternatives exist. https://github.com/angristan/openvpn-install The tutorial videos clarified the installation process and helped me grasp how to create extra client certificates using easyrsa for additional users. Another choice is OpenVPN Access Server, but licensing becomes necessary if you exceed two connected users.
Wireguard seems to be a top choice because it offers greater stability on connections with high latency or packet loss. I’m not sure which VPS providers currently support it.