|
cConnectedBut
Troubleshooting DNS Problems
Connects to the VPN, but doesn't workOpenVPN is such a powerful tool with so many options, and computer configurations are so varied, that it is impossible to have an exhaustive troubleshooting guide. This guide is meant for the most common setups, so if it doesn't apply to your situation, or doesn't help, ask the Tunnelblick Discussion Group or the OpenVPN users mailing list for help. This page assumes that you are successfully connected to a VPN server. If not, or if you aren't sure, look at Common Problems. Troubleshooting this problem could be very simple: try connecting the VPN with and without "Set nameserver" selected. If one way or the other solves your problem, you're done! If OpenVPN is connected to the server but your IP address does not changeIf OpenVPN connects to the server properly but your IP address does not change, you are probably missing the "--redirect-gateway" option. Add the following line: --redirect-gateway def1to your configuration file. By default, OpenVPN only sends some traffic through the VPN -- traffic that is specifically destined for the VPN network itself. The "--redirect-gateway" option tells OpenVPN to send all traffic through the VPN. (Leave out the "--" when it is put in the configuration file.) An alternative to putting "redirect gateway def1" in the configuration file is to "push" it from the VPN server to the client. How to test your IP addressYou can test find out what IP address your computer is using by going to https://www.whatismyip.com. If OpenVPN is connected to the server but you can't access the InternetIf OpenVPN connected to the server properly, but you are having trouble connecting to websites, the first thing to find out is if there is a DNS problem. To check that, try to access a website by using its IP address instead of its name. For example, try "http://129.42.58.216" instead of "http://www.ibm.com" or use some other, known IP address. If the IP address works, but the name doesn't, there is a DNS problem. (Consider the IP address to be "working" if any of the webpage loads.) If you have a DNS problem:
If you don't have a DNS problem then there is something else going on. Ask the Tunnelblick Discussion Group for help. How to check your DNS settings
Your DNS server list is one of the entries on the right. It is a list of IP addresses, separated by commas. OS X will use the first one unless it fails to respond to requests, in which case it will try the second, then the third, etc. Note: If the DNS server list is dimmed (grayed out), it was set via DHCP, not manually. How to use a different DNS serverYou can set your computer up to use a different DNS server. Google Public DNS is free, and OpenDNS has a free version:
PLEASE USE THE TUNNELBLICK DISCUSSION GROUP FOR COMMENTS OR QUESTIONS | |