Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a small network with both Windows and Linux machines. The Windows machines have shared folders on them which I can access using Samba from the Linux machines.

I recently connected one of my Linux machines to a VPN using OpenVPN. When the VPN is connected, I can still ping the local Windows machines by IP address, but I cannot access the shared folders any more --- the samba client times out.

Has anyone got a similar setup to work?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Tracing things through with wireshark, it turned out that the VPN was pushing through the OpenDNS DNS servers, which never return "not found". The Linux samba client was doing a DNS lookup prior to a NetBIOS lookup, and so was "finding" the machines on the OpenDNS "no domain here" servers rather than the local network.

Changing the VPN's DNS settings to use Google's DNS servers instead fixed the problem, as did changing the Samba config to avoid DNS lookups by adding

name resolve order = wins lmhosts bcast
dns proxy = no

to /etc/samba/smb.conf

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.