Howdy all!
I've got a problem that I'm hoping someone can help me out with!
I travel for work and I am wanting to setup a WireGuard VPN Server at home so I can log in from anywhere in the world and use my home IP address. I was mostly successful in this endeavor already, but I have an issue that I'm not sure why is happening, which means I don't know how to fix it.
Here's what I've done so far :
I setup a GL-SFT1200 Opal router as a WireGuard VPN server by following this tutorial :
The Opal is behind my Cox Gateway Modem/Router (Gateway LAN port into Opal WAN port.) The WireGuard VPN Server is setup using DDNS and Port Forwarding on the Cox Gateway.
I HAVE to use the Cox Gateway as the main router in my setup. That's non negotiable, so I can't turn it into Bridge Mode and use the Opal as my router. I HAVE to use the Cox Gateway as a Router with the Opal BEHIND it…I don't need to have Wi-Fi on the Opal as nothing at home needs to connect to it, I just need to be able to connect to my home network when I'm NOT at home…hopefully that makes sense!
Now…here's what's going on…I followed the YouTube tutorial I listed above and the Opal works just like it's supposed to as a WireGuard VPN Server behind the Cox Gateway…I can login using my phone or my Slate AX as a client and it shows that my IP is my home IP address. Score! I've tested it when out of state and out of the country…all of that works no problem whatsoever! Mostly…
The issue is that eventually, something happens with the Cox Gateway where all of my internet connectivity dies. It will just stop working. If I reboot the Cox Gateway, then it works again for awhile until something happens again and connectivity dies and I have to start the reboot loop process. Not sustainable.
The other half of the issue is…that problem goes away if I unplug the Opal…but, then I obviously don't have the VPN Server access.
So, something is going on with the Cox Gateway and the Opal at some point where it causes all internet connectivity to stop until the Cox Gateway is rebooted OR the Opal is unplugged.
That's my issue…I need to figure out how to have the Opal WireGuard VPN behind the Cox Gateway where it's stable and doesn't cause my internet connection to drop.
I don't know if the problem is in the Cox Gateway or if it's in the Opal…because everything works just fine until I lose internet connection and reboot the Gateway, then everything works again for a while, so I would guess it's the Gateway? But then also if I unplug the Opal, the Gateway never loses connection…so that would make me wonder if it's the Opal?
The only thing I can think of is it has something to do with my IP address changing and the DDNS setup? But, I basically only understand this stuff enough to get myself in trouble…which is how I'm here now haha!
I had thought about setting up a reboot schedule on the Opal for every hour? Thats probably overkill and I wasn't sure if that would help or not…and also, that's basically side-stepping the issue rather than fixing it at the source. And since I don't know what's causing the issue, I haven't been able to replicate it consistently, so I'm not sure how to troubleshoot it and hoped someone here would know what's going on!
Perhaps I need to set it up differently than what's in the YouTube tutorial I followed?
Any help/guidance/tutorial would be greatly appreciated!