What's confusing me is that I if I try to use, say, RD Client to access one of the machines on my LAN from my iPhone while the VPN connection is live, it fails because it can't find the target machine. Yet if I use something like Telnet Lite to make a terminal connection to the Pi by specifying an IP address (rather than a host name), >>that<< succeeds, no problem. It seems like the VPN connection isn't accessing the dnsmasq service running on the Pi.
I thought I could resolve this by adding the following to the openvpn server.conf file:
but that didn't work (same problem).
Code: Select all
push "route 192.168.1.0 255.255.255.0 192.168.1.254" push "dhcp-option DNS 192.168.1.5"
How do I configure things to give the VPN connections full bidirectional access to the LAN?