Can anyone spot what's missing or incorrect and causing my OpenVPN configuration to fail?
I have a Mikrotik HAP-AC as my main router, and a static public IP address from my ISP.
My home network runs on addresses 172.28.16.0/24. The router itself is .1. I have reserved a bunch of static IP addresses for access points, NAS, printers, etc. between .2 and .63; there's a general DCHP address pool from .64 to .199; and I've reserved a third pool, vpnpool, for OpenVPN connections from .200 to .210.
I set up a PPP profile called ovpn, with local address 172.28.16.1 and remote address vpnpool, and suitable DNS server addresses.
I have added PPP secret entries for authorised users, with userids and passwords and specifying the ovpn profile.
I have created a CA certificate, a server certificate, and a client certificate/key.
I've enabled the OpenVPN server with the relevant ovpn profile and server certificate.
I've downloaded the certificates and key files and copied them to a folder on my Android phone, along with a "secret" file that has my userid/password as defined in the PPP secret, and an ovpn configuration file as follows:
dev tun
proto tcp-client
remote <my static IP>
port 1194
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca CA.crt
cert PHClient.crt
key PHClient.key
verb 4
mute 10
cipher AES-256-CBC
auth SHA1
auth-user-pass secret
auth-nocache
I'm using the OpenVPN Connect app (
https://play.google.com/store/apps/deta ... n_GB&gl=US). The connection gets established, and my phone gets an IP address from the vpnpool. But I can't access anything on the LAN. When I try to scan the LAN (using Net Analyzer app) I see only the addresses of the router at .1, one of my printers at (static) .34, and a robot vacuum - of all things - at a DHCP address. When I check the phone's IP configuration I see there is no gateway address, although DNS servers are as expected. There's nowhere I can see to explicitly specify the gateway address in the configuration, though I'd expect the server to have supplied it to the client along with DNS addresses.
I must be missing something, but what?