<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=OpenVPN%2FProblems_Connecting_to_Internet</id>
	<title>OpenVPN/Problems Connecting to Internet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=OpenVPN%2FProblems_Connecting_to_Internet"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=OpenVPN/Problems_Connecting_to_Internet&amp;action=history"/>
	<updated>2026-06-19T22:19:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=OpenVPN/Problems_Connecting_to_Internet&amp;diff=8654&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;==The Problem==  If you&#039;re having trouble with your OpenVPN, and your symptoms match the following: * You can ping the virtual network gateway from the virtual network client,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=OpenVPN/Problems_Connecting_to_Internet&amp;diff=8654&amp;oldid=prev"/>
		<updated>2015-09-25T03:44:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==The Problem==  If you&amp;#039;re having trouble with your OpenVPN, and your symptoms match the following: * You can ping the virtual network gateway from the virtual network client,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==The Problem==&lt;br /&gt;
&lt;br /&gt;
If you&amp;#039;re having trouble with your OpenVPN, and your symptoms match the following:&lt;br /&gt;
* You can ping the virtual network gateway from the virtual network client, and vice versa (i.e., &amp;lt;code&amp;gt;ping -I tun0 10.8.0.1&amp;lt;/code&amp;gt; works)&lt;br /&gt;
* You can see packets passing back and forth across the network when you run ping, by monitoring your tunnel interface tun0 with [[Wireshark]]&lt;br /&gt;
* You see problems with DNS packets when you monitor your tunnel interface tun0 with [[Wireshark]]&lt;br /&gt;
&lt;br /&gt;
==The Cause==&lt;br /&gt;
&lt;br /&gt;
Check your &amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; file, where your DNS server settings are. Your DNS settings were probably obtained automatically from your gateway (i.e., from your ISP) and thus from your networking manager (at the operating system layer). And those DNS settings are likely for that ISP&amp;#039;s customers ONLY, not for your random virtual private server sitting in Cleveland or Hong Kong where you&amp;#039;re running your OpenVPN server. So, it refuses DNS queries, and all your tunneled DNS queries to your ISP&amp;#039;s DNS servers are rejected.&lt;br /&gt;
&lt;br /&gt;
That means you can&amp;#039;t run &amp;lt;code&amp;gt;ping -I tun0 google.com&amp;lt;/code&amp;gt; because your computer can&amp;#039;t find google.com, because it&amp;#039;s asking a server that expects queries from a certain block of customers, not from random people.&lt;br /&gt;
&lt;br /&gt;
==The Solution==&lt;br /&gt;
&lt;br /&gt;
Edit your &amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; and add some DNS servers that accept queries from anyone: https://www.wikileaks.org/wiki/Alternative_DNS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{OpenVPNFlag}}&lt;br /&gt;
&lt;br /&gt;
{{AnonymousBrowsingFlag}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Web]]&lt;br /&gt;
[[Category:Internet]]&lt;br /&gt;
[[Category:DNS]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>