Is it possible to enable logging in to a domain through a shared VPN connection?
I work from home. I picked up a new laptop from the office which is already joined to the domain, but I stupidly forgot to login while connected to the office's network before bringing it home. So now of course I cannot log in because of no cached credentials and no connection to the VPN. I get this error when attempting a login:
There are currently no logon servers available to service the logon request.
Now I could make the long journey back to the office just to plug in, but in the spirit of learning something new, I wanted to see if it was possible to share the VPN connection established by the old laptop with the new laptop. So I did the following:
- On the old laptop, I connected its WiFi and established a VPN connection; everything is accessible as expected.
- On the virtual network adapter for the VPN connection on the old laptop, I enabled Internet connection sharing, using the Ethernet connection as the "Home network connection"
- I connected an Ethernet cable from the new laptop to the old laptop.
- I attempted the login on the new laptop.
Unfortunately, I still get the "no logon servers available" error.
Is there anything special I have to do to enable the new laptop to reach the domain's logon servers through the shared VPN connection?
Update 1:
Maybe ICS is not working. Connected another computer via Ethernet, and DHCP is not giving it an address.
Update 2:
OK, maybe it is working but something is up with DHCP? On that Linux box, dhclient eth0
got it go acquire an IP address. I cannot verify for sure whether the new laptop (Windows 7) is getting an IP address or not, but at least it seems ICS is working and can use DHCP.
Update 3:
This may relate to DNS. When I connect my Linux box to the old laptop, nmcli dev show eth0
does not list any DNS servers, so perhaps the new laptop just cannot resolve the logon server names.
Update 4:
DNS does not seem to be working on the old laptop. When connected with the Linux box, nslookup superuser.com <old laptop IP>
errors out with:
;; connection timed out; no servers could be reached
I even tried forwarding the UDP & TCP ports for DNS to a real DNS server, and that didn't change anything.
Update 5:
Even lookups via Google's DNS server fails. Though I can ping 8.8.8.8
just fine, nslookup
times out. Perhaps there's some packets being blocked when doing DNS lookup.