Auto created profiles work for Mac systems, but not iOS
Posted: Tue Jun 27, 2017 3:38 pm
I have an OpenVPN server running on a Lubuntu system, and the profiles that are auto created work great for my Mac systems. However, the iOS profiles do not work - I'm able to 'connect' using the iOS OpenVPN app, however I can't actually connect to any service on my server. I normally am able to connect to anything on my server using 10.8.0.1... no dice on this. I researched a bit and saw someone recommend adding `push "route 10.8.0.1 255.255.255.0"` to my server.conf, but no luck there either.
Client config:
Server Config:
Client config:
Code: Select all
client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote MYSERVER.net 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3
<ca>
...
Code: Select all
port 1194
proto udp
dev tun
sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
ca ca.crt
cert server.crt
key server.key
dh dh.pem
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
push "route 10.8.0.0 255.255.255.0"
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 4
crl-verify crl.pem
mssfix 1460
tun-mtu 1500
mode server
tls-server