<?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_and_Privoxy</id>
	<title>OpenVPN and Privoxy - 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_and_Privoxy"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=OpenVPN_and_Privoxy&amp;action=history"/>
	<updated>2026-06-20T02:38:32Z</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_and_Privoxy&amp;diff=8652&amp;oldid=prev</id>
		<title>Admin at 03:44, 25 September 2015</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=OpenVPN_and_Privoxy&amp;diff=8652&amp;oldid=prev"/>
		<updated>2015-09-25T03:44:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:44, 25 September 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tells OpenVPN that the traffic coming out of the OpenVPN tunnel should be using the proxy on port 8118, which is Privoxy. Content coming from the open web through the Privoxy content filter on the server is scrubbed and sent out of port 8118, where it is redirected to the OpenVPN tunnel again.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tells OpenVPN that the traffic coming out of the OpenVPN tunnel should be using the proxy on port 8118, which is Privoxy. Content coming from the open web through the Privoxy content filter on the server is scrubbed and sent out of port 8118, where it is redirected to the OpenVPN tunnel again.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:OpenVPN]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:VPN]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=OpenVPN_and_Privoxy&amp;diff=8651&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;https://openvpn.net/index.php/open-source/documentation/howto.html#http * remove udp and replace with tcp * using http-proxy instead of dhcp-settings HTTP_PROXY  Running OpenV...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=OpenVPN_and_Privoxy&amp;diff=8651&amp;oldid=prev"/>
		<updated>2015-09-25T03:43:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;https://openvpn.net/index.php/open-source/documentation/howto.html#http * remove udp and replace with tcp * using http-proxy instead of dhcp-settings HTTP_PROXY  Running OpenV...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;https://openvpn.net/index.php/open-source/documentation/howto.html#http&lt;br /&gt;
* remove udp and replace with tcp&lt;br /&gt;
* using http-proxy instead of dhcp-settings HTTP_PROXY&lt;br /&gt;
&lt;br /&gt;
Running OpenVPN and Privoxy together can work two ways: we can run Privoxy on our OpenVPN client, or we can run Privoxy on our OpenVPN server. The latter option is much better, easier not to think about it. So we&amp;#039;ll cover that.&lt;br /&gt;
&lt;br /&gt;
=Install Stuff=&lt;br /&gt;
&lt;br /&gt;
==Install OpenVPN==&lt;br /&gt;
&lt;br /&gt;
Make sure OpenVPN is installed on both the OpenVPN client and the OpenVPN server. Duh.&lt;br /&gt;
&lt;br /&gt;
Installation notes over at [[OpenVPN]], but check out the OpenVPN website for source code and instructions.&lt;br /&gt;
&lt;br /&gt;
==Install OpenVPN Scripts==&lt;br /&gt;
&lt;br /&gt;
Some of the scripts from Github for setting up my OpenVPN - configuration files, firewall settings, etc.&lt;br /&gt;
&lt;br /&gt;
These scripts are all here: [[OpenVPN/Static Key]]&lt;br /&gt;
&lt;br /&gt;
==Install Privoxy==&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll want to install Privoxy on the machine you&amp;#039;re using as the OpenVPN server. Check out the [[Privoxy]] page for installation notes.&lt;br /&gt;
&lt;br /&gt;
==Install Privoxy Configuration File==&lt;br /&gt;
&lt;br /&gt;
Now install the Privoxy configuration file from the Nosecleaner repository (add link here).&lt;br /&gt;
&lt;br /&gt;
==Double-Check OpenVPN Client DNS==&lt;br /&gt;
&lt;br /&gt;
Fix your DNS settings on your OpenVPN Client to make sure they are going to a public DNS server. Edit the file &amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; and double check the servers. See https://www.wikileaks.org/wiki/Alternative_DNS for open DNS servers.&lt;br /&gt;
&lt;br /&gt;
=Run Privoxy=&lt;br /&gt;
&lt;br /&gt;
On the OpenVPN server, fire up Privoxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ service privoxy restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Privoxy is now working on port 8118.&lt;br /&gt;
&lt;br /&gt;
=Modify OpenVPN Client Config File=&lt;br /&gt;
&lt;br /&gt;
Now edit the OpenVPN client&amp;#039;s config file and add a directive to the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dhcp-option PROXY_HTTP 45.33.40.53 8118&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This tells OpenVPN that the traffic coming out of the OpenVPN tunnel should be using the proxy on port 8118, which is Privoxy. Content coming from the open web through the Privoxy content filter on the server is scrubbed and sent out of port 8118, where it is redirected to the OpenVPN tunnel again.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>