I have issues with iPhone iOS and OpenVPN. I didn't want to open new thread, so I'm continuing here.
Client config:
client
dev tun
proto udp
remote HOST PORT
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
#ignore-unknown-option block-outside-dns
#block-outside-dns
verb 3
server:
local XXXXX
port XXXXX
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
#push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
#push "dhcp-option DNS 1.1.1.1"
#push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify
Client Device: iPhone, Open Connect 3.
After connecting to VPN, iPhone internet is gone.
The same configuration on Android, and Windows is working properly (except Windows 10, where Open Connect 3 is bad. With OpenVpn client 2.x is woorking OK).