danielk
My setup is working for WAN, but when I come home, the openvpn app for iOS looses connection and goes into an eternal loop of reconnecting. I would like for the connection to stay alive even while on the LAN/home network so when I leave the house, the VPN is already active or is it possible to have the client app reconnect when leaving the home network (does not appear to be a setting).
server (specifics only):
Manage Client-Specific Options
Allow Client <-> Client
client:
client
dev tun
proto udp
remote xxxxxxx.duckdns.org 1194
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-256-CBC
auth SHA512
keepalive 15 60
remote-cert-tls server
resolv-retry infinite
nobind
What are my options?
danielk
Got it resolved... I have pihole running as my dns server, so I added a new entry in /etc/dnsmasq.d/03-xxxxxxx.conf to point the my duckdns.org hostname back to my router. I also had to disable option "Advertise DNS to clients" in advanced settings of openvpn server setup on the ASUS router. Lastly I added the following to the Custom Configuration texture in the bottom of the setup to get pihole has my dns.
push "dhcp-option DNS 172.16.0.200"
push "dhcp-option DOMAIN my.lan"
push "dhcp-option SEARCH my.lan"