First of all, I live in UAE and some people claim that VPNs are blocked here by ISPs but this is not my case. I've my OpenVPN server, and you can find the configurations below. My problem is, All devices (Android, iOS, Windows, and OSX) can connect from public WiFis and workplaces, although in the home, ONLY mobile devices work. Windows, OSX, and DD-WRT, can connect but no internet. For Windows I use Viscosity and for OSX, I use Tunnelblick.
port 1194
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "redirect-gateway def1 bypass-dhcp"
crl-verify crl.pem
ca ca.crt
cert server_9VXvJTr2rqBbFy1o.crt
key server_9VXvJTr2rqBbFy1o.key
tls-auth tls-auth.key 0
dh dh.pem
auth SHA256
cipher AES-256-CBC
tls-server
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
status openvpn.log
verb 3
duplicate-cn