OpenVPN for iOS connects, doesn't redirect all traffic
SpaceBass last edited by
Hey folks - had a fairly easy time getting OpenVPN for iOS working.
I'm able to pass traffic over the tunnel to hosts on the remote network.
However, I cannot access the internet. In other words, redirecting all traffic isn't working.
I tried to access a few websites via IP and they resolve to the correct name (so my DNS is working) but I cannot load them. That's about all the troubleshooting I can do on iOS without a terminal :)
dev ovpns4 dev-type tun dev-node /dev/tun4 writepid /var/run/openvpn_server4.pid #user nobody #group nobody script-security 3 daemon keepalive 10 60 ping-timer-rem persist-tun persist-key proto udp cipher AES-256-CBC up /usr/local/sbin/ovpn-linkup down /usr/local/sbin/ovpn-linkdown local 10.1.10.10 tls-server server 10.76.1.0 255.255.255.0 client-config-dir /var/etc/openvpn-csc username-as-common-name auth-user-pass-verify /var/etc/openvpn/server4.php via-env tls-verify /var/etc/openvpn/server4.tls-verify.php lport 1199 management /var/etc/openvpn/server4.sock unix push "route 10.1.1.0 255.255.255.0" push "dhcp-option DOMAIN nsnet.us" push "dhcp-option DNS 10.1.1.15" push "dhcp-option NTP 10.1.1.15" push "redirect-gateway def1" client-to-client ca /var/etc/openvpn/server4.ca cert /var/etc/openvpn/server4.cert key /var/etc/openvpn/server4.key dh /etc/dh-parameters.2048 comp-lzo persist-remote-ip float
dev tun persist-tun persist-key proto udp cipher AES-256-CBC tls-client client resolv-retry infinite remote home.nickdawson.net 1199 redirect-gateway auth-user-pass comp-lzo [CA, Certs and Keys are inline in the file]