My friend abroad in the middle-east cannot use a lot of VoIP apps as they are blocked there. Can you point me to a suitable guide to setup my GL-SF1200 router so that:
My friend can connect to my internet through VPN on my router.
Ensure VPN has a bandwidth limit.
Ensure user authentication and a suitable timeout.
(Any other tips and advise for the above would also be appreciated).
You can follow the standard GL.iNet documentation to set up either an OpenVPN or WireGuard server on your router.
VoIP requires very low bandwidth. You may have to be more concerned about latency and jitter.
I presume you currently have a VoIP provider. It may be easier for your friend to use a commercial VPN provider to get past the blocking, so your friend can access the VoIP provider directly. This should provide better performance/reliability and be simpler than setting up/maintaining your own VPN server.
I do not work for and I am not directly associated with GL.iNet
Using VPN services to bypass such “restricted” service is illegal and many commercial VPN services are blocked too in the middle east. Since mine will be a private VPN, it is less likely to be flagged and even if questioned about it my friend can claim it is a work related VPN (which is fine according to their laws).
It’s just a screwed up system - the ruling Sheiks there own the telecom companies. The middle east is full of foreign expats (more than half the population!) and so the telecom companies earn a lot from them when they make international calls. And hence the unreasonable blockages of nearly all the popular free and paid apps and internet based services there. The only free voice chat app allowed is one run by their intelligence services - https://www.nytimes.com/2019/12/22/us/politics/totok-app-uae.html
Yes, the router has a built-in DDNS function, which I do not know if it works for VPN (@alzhao may want to chip in). But you can easily set up DDNS within luci for other providers anyway. This may not work if you are behind CG-NAT and similar atrocities though…
If my non-expert understanding of these posts is correct, then VPN is not illegal in the UAE, but accessing banned websites, services, etc. is illegal and connecting to your router VPN to use VoIP would be illegal, at your friend’s own risk.