I am trying to use OpenVPN Connect (the official OpenVPN app) on Android.
I import the profile and everything seems to be correct until I notice that traffic is not passing trough the VPN. The status is displayed as connected, and there is some data passing trough, but obviously not everything (i tried 720p video for a couple of minutes but the app's traffic counter still shows something like 20 kilobytes).
The VPN appears in android's VPN settings,
but apparently I can't use it as Always-on VPN.
My goal is to be able to route all traffic trough the VPN.
My server config (OpenWRT uci config format):
config openvpn 'myvpn' option user nobody option group nogroup option keepalive '10 120' option persist_key 1 option persist_tun 1 option enabled '1' option verb '3' option port '1195' option proto 'udp' option server '10.8.0.0 255.255.255.0' option push "redirect-gateway def1" option push "dhcp-option DNS <router dns ip>" option ca '/etc/openvpn/ca.crt' option cert '/etc/openvpn/my-server.crt' option key '/etc/openvpn/my-server.key' option dh '/etc/openvpn/dh1024.pem' option dev 'tun0' option log_append '/var/log/openvpn.log' option status '/var/log/openvpn-status.log'
My client .ovpn profile:
dev tun proto udp log openvpn.log verb 3 ca ca.crt.pem cert my-client.crt.pem key my-client.key.pem client remote-cert-tls server remote <router wan ip> 1195
PS: I'm obviously new here, thanks in advance for directing me somewhere more appropriate if this is not the right community.