Why does the connection not work even if I am already connect to the OpenWrt machine via a terminal session?
root@OpenWrt:/etc/openvpn# scp client.ovpn aaron@aaron-HP-ProBook-4420s:/home/aaron/client.ovpn
/usr/bin/dbclient: Connection to aaron@aaron-HP-ProBook-4420s:22 exited: Connect failed: Error resolving 'aaron-HP-ProBook-4420s' port '22'. Name does not resolve
lost connection
root@OpenWrt:/etc/openvpn# scp client.ovpn aaron@aaron-HP-ProBook-4420s:/home/aaron/client.ovpn
Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Wait s second... How does your client gets an IP address? In your DHCP config the lan interface is disabled. If dnsmasq does not assign an address to the client it can not know it's name and therefore can not resolve that name.
Edit: who holds the 10.1.1.1 address? It's not assigned to the Openwrt router ...
That is the user manual for my main router. Not sure how it gets the dhcp/dns since I just use the setup wizard. However, if I had to guess by default it would be dynamically set.