I have a digital ocean vm which serves as my wireguard server, I have configured the necessary components such as the conf file and allowing port 51820. Before I left the UK it was working now whilst I’m in Egypt it doesn’t seem to work. I keep getting “Operation Timed Out, Please check network connection or reboot device” what could be the issue? Any thoughts please?
Egypt blocks VPN usage. You can try to use a different port, but it might be impossible.
Thanks for your reply, I never knew this, would it be a case of chatting with the ISP and asking them to unblock or is this something that is completely denied?
Completely denied, thanks to the gov there.
Okay for those interested I found a way to bypass the VPN ban in Egypt and it’s to use outline vpn, works like a charm and has a dead simple setup.
I know it is in all of the example configurations for wireguard to use port 51820 but any port above 1023 is markedly less secure as it (only) requires non-root access to the device to compromise.
I suggest 820 as an alternative for traffic that crosses the Internet.
(If you are using wg like cloudflare does thru tunnels vNICs then it doesn't really matter what port you use.)