<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: OpenVPN and DNS on a linux client</title>
	<atom:link href="http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html</link>
	<description>Computer Security Blog</description>
	<lastBuildDate>Thu, 16 May 2013 04:09:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Peter Pan</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-3555</link>
		<dc:creator>Peter Pan</dc:creator>
		<pubDate>Tue, 28 Sep 2010 09:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-3555</guid>
		<description><![CDATA[Thank you so much. I have been frustrating on this problem for months and today I solved it.]]></description>
		<content:encoded><![CDATA[<p>Thank you so much. I have been frustrating on this problem for months and today I solved it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damion Blessinger</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-3156</link>
		<dc:creator>Damion Blessinger</dc:creator>
		<pubDate>Fri, 06 Aug 2010 01:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-3156</guid>
		<description><![CDATA[The easiest way (which is a little expensive) is to buy 2 VPN capable Routers, with statics public IP addressed on both ends.... with those setup it will be like both computers are networked at the same location]]></description>
		<content:encoded><![CDATA[<p>The easiest way (which is a little expensive) is to buy 2 VPN capable Routers, with statics public IP addressed on both ends&#8230;. with those setup it will be like both computers are networked at the same location</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MrFrame</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-3128</link>
		<dc:creator>MrFrame</dc:creator>
		<pubDate>Sun, 01 Aug 2010 04:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-3128</guid>
		<description><![CDATA[Thanks JC !
Finding this and implementing accordingly, saved me quite a bit of hassle mocking around with /etc/hosts and/or bind slaves.
Thanks a lot!]]></description>
		<content:encoded><![CDATA[<p>Thanks JC !<br />
Finding this and implementing accordingly, saved me quite a bit of hassle mocking around with /etc/hosts and/or bind slaves.<br />
Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-2594</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Fri, 28 May 2010 06:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-2594</guid>
		<description><![CDATA[Thanks a lot, Tom.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot, Tom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Parker</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-2591</link>
		<dc:creator>Tom Parker</dc:creator>
		<pubDate>Thu, 27 May 2010 21:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-2591</guid>
		<description><![CDATA[Here is the ubuntu script modified to work with OpenSuSE&#039;s netconfig instead of resolvconf


#!/bin/bash
#
# Parses DHCP options from openvpn to update resolv.conf
# To use set as &#039;up&#039; and &#039;down&#039; script in your openvpn *.conf:
# up /etc/openvpn/update-resolv-conf
# down /etc/openvpn/update-resolv-conf
#
# Used snippets of resolvconf script by Thomas Hood 
# and Chris Hanson
# Licensed under the GNU GPL.  See /usr/share/common-licenses/GPL.
#
# 05/2006 chlauber@bnc.ch
#
# Example envs set from openvpn:
# foreign_option_1=&#039;dhcp-option DNS 193.43.27.132&#039;
# foreign_option_2=&#039;dhcp-option DNS 193.43.27.133&#039;
# foreign_option_3=&#039;dhcp-option DOMAIN be.bnc.ch&#039;

NETCONFIG=&quot;/sbin/netconfig&quot;
#OPTIONS=&quot;--verbose --force-replace&quot;

[ -x $NETCONFIG ] &#124;&#124; exit 0

case $script_type in
 
up)
    for optionname in ${!foreign_option_*} ; do
        option=&quot;${!optionname}&quot;
        #echo $option
        part1=$(echo &quot;$option&quot; &#124; cut -d &quot; &quot; -f 1)
        if [ &quot;$part1&quot; == &quot;dhcp-option&quot; ] ; then
            part2=$(echo &quot;$option&quot; &#124; cut -d &quot; &quot; -f 2)
            part3=$(echo &quot;$option&quot; &#124; cut -d &quot; &quot; -f 3)
            if [ &quot;$part2&quot; == &quot;DNS&quot; ] ; then
                if [ &quot;$IF_DNS_NAMESERVERS&quot; ] ; then
                    IF_DNS_NAMESERVERS=&quot;$IF_DNS_NAMESERVERS $part3&quot;
                else
                    IF_DNS_NAMESERVERS=&quot;$part3&quot;
                fi
            fi
            if [ &quot;$part2&quot; == &quot;DOMAIN&quot; ] ; then
                IF_DNS_SEARCH=&quot;$part3&quot;
            fi
        fi
    done
    R=&quot;&quot;
    if [ &quot;$IF_DNS_SEARCH&quot; ] ; then
        R=&quot;${R} DNSSEARCH=&#039;$IF_DNS_SEARCH&#039;&quot;
    fi
    if [ &quot;$IF_DNS_NAMESERVERS&quot; ] ; then
        R=&quot;${R} DNSSERVERS=&#039;$IF_DNS_NAMESERVERS&#039;&quot;
    fi
    echo -n &quot;$R&quot; &#124; $NETCONFIG modify $OPTIONS -i &quot;${dev}&quot; -s openvpn
    ;;
down)
    $NETCONFIG remove $OPTIONS -i &quot;${dev}&quot; -s openvpn
    ;;
esac
]]></description>
		<content:encoded><![CDATA[<p>Here is the ubuntu script modified to work with OpenSuSE&#8217;s netconfig instead of resolvconf</p>
<p>#!/bin/bash<br />
#<br />
# Parses DHCP options from openvpn to update resolv.conf<br />
# To use set as &#8216;up&#8217; and &#8216;down&#8217; script in your openvpn *.conf:<br />
# up /etc/openvpn/update-resolv-conf<br />
# down /etc/openvpn/update-resolv-conf<br />
#<br />
# Used snippets of resolvconf script by Thomas Hood<br />
# and Chris Hanson<br />
# Licensed under the GNU GPL.  See /usr/share/common-licenses/GPL.<br />
#<br />
# 05/2006 <a href="mailto:chlauber@bnc.ch">chlauber@bnc.ch</a><br />
#<br />
# Example envs set from openvpn:<br />
# foreign_option_1=&#8217;dhcp-option DNS 193.43.27.132&#8242;<br />
# foreign_option_2=&#8217;dhcp-option DNS 193.43.27.133&#8242;<br />
# foreign_option_3=&#8217;dhcp-option DOMAIN be.bnc.ch&#8217;</p>
<p>NETCONFIG=&#8221;/sbin/netconfig&#8221;<br />
#OPTIONS=&#8221;&#8211;verbose &#8211;force-replace&#8221;</p>
<p>[ -x $NETCONFIG ] || exit 0</p>
<p>case $script_type in</p>
<p>up)<br />
    for optionname in ${!foreign_option_*} ; do<br />
        option=&#8221;${!optionname}&#8221;<br />
        #echo $option<br />
        part1=$(echo &#8220;$option&#8221; | cut -d &#8221; &#8221; -f 1)<br />
        if [ "$part1" == "dhcp-option" ] ; then<br />
            part2=$(echo &#8220;$option&#8221; | cut -d &#8221; &#8221; -f 2)<br />
            part3=$(echo &#8220;$option&#8221; | cut -d &#8221; &#8221; -f 3)<br />
            if [ "$part2" == "DNS" ] ; then<br />
                if [ "$IF_DNS_NAMESERVERS" ] ; then<br />
                    IF_DNS_NAMESERVERS=&#8221;$IF_DNS_NAMESERVERS $part3&#8243;<br />
                else<br />
                    IF_DNS_NAMESERVERS=&#8221;$part3&#8243;<br />
                fi<br />
            fi<br />
            if [ "$part2" == "DOMAIN" ] ; then<br />
                IF_DNS_SEARCH=&#8221;$part3&#8243;<br />
            fi<br />
        fi<br />
    done<br />
    R=&#8221;"<br />
    if [ "$IF_DNS_SEARCH" ] ; then<br />
        R=&#8221;${R} DNSSEARCH=&#8217;$IF_DNS_SEARCH&#8217;&#8221;<br />
    fi<br />
    if [ "$IF_DNS_NAMESERVERS" ] ; then<br />
        R=&#8221;${R} DNSSERVERS=&#8217;$IF_DNS_NAMESERVERS&#8217;&#8221;<br />
    fi<br />
    echo -n &#8220;$R&#8221; | $NETCONFIG modify $OPTIONS -i &#8220;${dev}&#8221; -s openvpn<br />
    ;;<br />
down)<br />
    $NETCONFIG remove $OPTIONS -i &#8220;${dev}&#8221; -s openvpn<br />
    ;;<br />
esac</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TK</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-2236</link>
		<dc:creator>TK</dc:creator>
		<pubDate>Fri, 23 Apr 2010 14:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-2236</guid>
		<description><![CDATA[billybux,

Road Warrior VPN.com does include a nice how to set up their VPN client on Linux and automatically send all DNS requests to the VPN server in order to keep the DNS requests just as secure as the rest of the trafic.
https://www.roadwarriorvpn.com/configure_install/Linux_CLI.php]]></description>
		<content:encoded><![CDATA[<p>billybux,</p>
<p>Road Warrior VPN.com does include a nice how to set up their VPN client on Linux and automatically send all DNS requests to the VPN server in order to keep the DNS requests just as secure as the rest of the trafic.<br />
<a href="https://www.roadwarriorvpn.com/configure_install/Linux_CLI.php" >https://www.roadwarriorvpn.com/configure_install/Linux_CLI.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fenc</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-2145</link>
		<dc:creator>fenc</dc:creator>
		<pubDate>Wed, 14 Apr 2010 03:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-2145</guid>
		<description><![CDATA[感谢

让我找到解决方案]]></description>
		<content:encoded><![CDATA[<p>感谢</p>
<p>让我找到解决方案</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PCoE</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-1916</link>
		<dc:creator>PCoE</dc:creator>
		<pubDate>Sat, 30 Jan 2010 09:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-1916</guid>
		<description><![CDATA[Many howtos and docs before i left any hope about VPN&amp;DNS... But this article helped me. I was only about trying to edit correctly /etc/resolv.conf (as I remember, even with correct DNS coming with push command from server), thought it&#039;s anougth, but no luck.

Thnx a lot. =)]]></description>
		<content:encoded><![CDATA[<p>Many howtos and docs before i left any hope about VPN&amp;DNS&#8230; But this article helped me. I was only about trying to edit correctly /etc/resolv.conf (as I remember, even with correct DNS coming with push command from server), thought it&#8217;s anougth, but no luck.</p>
<p>Thnx a lot. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billybux</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-1271</link>
		<dc:creator>billybux</dc:creator>
		<pubDate>Mon, 22 Dec 2008 19:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-1271</guid>
		<description><![CDATA[Bubba,

I don&#039;t think that is correct about Witopia, or any decent VPN service provider worth its salt, but you are correct about DNS being a potential security hole that you need to keep an eye on.  Witopia does provide secure DNS and says you should use their DNS servers for best security in the e-mail you receive after ordering.

Please comment back, but it&#039;s my understanding that if you&#039;re set up to automatically detect settings from your iSP,  Witopia should function as your &quot;virtual ISP&quot; while VPN is connected and provides the Witopia IP address as well as DNS information from Witopia DNS servers over the encrypted tunnel.

Witopia supplies DNS as part of their service and will also let you manually enter the server addresses (I have done this and it seems to improve performance and, as you mention, security). The DNS server info is on their FAQ, www.wiki.witopia.net/wiki/FAQ ...#6).

So, as I understand it, DNS queries while using Witopia  are secure if you use their DNS servers, which you should automatically, if your machine is set up to auto-detect settings or you can manually set them as they suggest. 

Then, all DNS queries are encrypted over witopia VPN (outside of China..or any country) to and from Witopia servers unless you purposely enter your local ISP&#039;s DNS servers (in China that wouldn&#039;t be too good) or someone else&#039;s. Which, as you mention, isn&#039;t the optimal security setup and should be avoided.]]></description>
		<content:encoded><![CDATA[<p>Bubba,</p>
<p>I don&#8217;t think that is correct about Witopia, or any decent VPN service provider worth its salt, but you are correct about DNS being a potential security hole that you need to keep an eye on.  Witopia does provide secure DNS and says you should use their DNS servers for best security in the e-mail you receive after ordering.</p>
<p>Please comment back, but it&#8217;s my understanding that if you&#8217;re set up to automatically detect settings from your iSP,  Witopia should function as your &#8220;virtual ISP&#8221; while VPN is connected and provides the Witopia IP address as well as DNS information from Witopia DNS servers over the encrypted tunnel.</p>
<p>Witopia supplies DNS as part of their service and will also let you manually enter the server addresses (I have done this and it seems to improve performance and, as you mention, security). The DNS server info is on their FAQ, <a href="http://www.wiki.witopia.net/wiki/FAQ" >http://www.wiki.witopia.net/wiki/FAQ</a> &#8230;#6).</p>
<p>So, as I understand it, DNS queries while using Witopia  are secure if you use their DNS servers, which you should automatically, if your machine is set up to auto-detect settings or you can manually set them as they suggest. </p>
<p>Then, all DNS queries are encrypted over witopia VPN (outside of China..or any country) to and from Witopia servers unless you purposely enter your local ISP&#8217;s DNS servers (in China that wouldn&#8217;t be too good) or someone else&#8217;s. Which, as you mention, isn&#8217;t the optimal security setup and should be avoided.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bubba</title>
		<link>http://www.phocean.net/2006/12/07/openvpn-and-dns-on-a-linux-client.html/comment-page-1#comment-1264</link>
		<dc:creator>bubba</dc:creator>
		<pubDate>Sun, 26 Oct 2008 03:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://192.168.1.10/wordpress/?p=12#comment-1264</guid>
		<description><![CDATA[On the ASUS EEEPC 901, the Problem STILL exists and the so called Tech support at WITOPIA are Totally Freakin CLUELESS.

They have run me around the block on this problem, which is a MAJOR Security hole, and the folks at witopia just don&#039;t seem to care.

The problem is that your BROWSER sesson gets encrypted 
BUT 
your DNS queries DO NOT !!!

So if you did this in CHINA and set up your Supposedly Secure Witopia session, where you Thought all was secure and then went to
say &quot;www.freetibet.org&quot;   your DNS lookup is IN THE CLEAR !!!  Your session once yiu Got To the site is encrypted 
BUT
Now its to late - You DIE
witopia sucks SO MASSIVELY that they have ZERO mention on their WEB site and their tech support has ZERO Clue about the problem.

worse - witopia tech support cops such a huge attitude with you - like YOU are the problem - NOT their product - NOT their lack of documentation

THX  SO MUCH for the HELP !!!!]]></description>
		<content:encoded><![CDATA[<p>On the ASUS EEEPC 901, the Problem STILL exists and the so called Tech support at WITOPIA are Totally Freakin CLUELESS.</p>
<p>They have run me around the block on this problem, which is a MAJOR Security hole, and the folks at witopia just don&#8217;t seem to care.</p>
<p>The problem is that your BROWSER sesson gets encrypted<br />
BUT<br />
your DNS queries DO NOT !!!</p>
<p>So if you did this in CHINA and set up your Supposedly Secure Witopia session, where you Thought all was secure and then went to<br />
say &#8220;www.freetibet.org&#8221;   your DNS lookup is IN THE CLEAR !!!  Your session once yiu Got To the site is encrypted<br />
BUT<br />
Now its to late &#8211; You DIE<br />
witopia sucks SO MASSIVELY that they have ZERO mention on their WEB site and their tech support has ZERO Clue about the problem.</p>
<p>worse &#8211; witopia tech support cops such a huge attitude with you &#8211; like YOU are the problem &#8211; NOT their product &#8211; NOT their lack of documentation</p>
<p>THX  SO MUCH for the HELP !!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
