<?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: Setting up OpenVPN in debian/ubuntu</title>
	<atom:link href="http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/</link>
	<description>Surviving life as a sysadmin.</description>
	<lastBuildDate>Wed, 21 Jul 2010 09:05:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Laplinux</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-681</link>
		<dc:creator>Laplinux</dc:creator>
		<pubDate>Thu, 08 Jul 2010 10:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-681</guid>
		<description>Hello
What Ubuntu version this working ?

is it 8.10 and 9.04

I must test this. thnaks</description>
		<content:encoded><![CDATA[<p>Hello<br />
What Ubuntu version this working ?</p>
<p>is it 8.10 and 9.04</p>
<p>I must test this. thnaks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Setting up OpenVPN server on debian or ubuntu &#124; WithExample</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-665</link>
		<dc:creator>Setting up OpenVPN server on debian or ubuntu &#124; WithExample</dc:creator>
		<pubDate>Sat, 03 Apr 2010 08:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-665</guid>
		<description>[...] Setting up OpenVPN server on debian or ubuntu  April 3, 2010 &#124; Posted by admin (online)  http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Setting up OpenVPN server on debian or ubuntu  April 3, 2010 | Posted by admin (online)  <a href="http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/" rel="nofollow">http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: epixoip</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-661</link>
		<dc:creator>epixoip</dc:creator>
		<pubDate>Sat, 27 Mar 2010 06:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-661</guid>
		<description>Just a quick note about the bridging script -- completely unnecessary on a Debian (or Debian-like) system, and seems to be causing people a lot of confusion. Just put something like the following in /etc/network/interfaces:

------------------------------------------

iface eth0 inet manual

auto br0
iface br0 inet static
    pre-up /usr/sbin/openvpn --mktun --dev tap0
    bridge_ports eth0 tap0
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1

------------------------------------------

If you receive an error to the effect of &quot;Cannot ioctl TUNSETIFF tap0,&quot; try tap1 instead.

That&#039;s all there is to it -- no silly scripts.</description>
		<content:encoded><![CDATA[<p>Just a quick note about the bridging script &#8212; completely unnecessary on a Debian (or Debian-like) system, and seems to be causing people a lot of confusion. Just put something like the following in /etc/network/interfaces:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>iface eth0 inet manual</p>
<p>auto br0<br />
iface br0 inet static<br />
    pre-up /usr/sbin/openvpn &#8211;mktun &#8211;dev tap0<br />
    bridge_ports eth0 tap0<br />
    address 192.168.1.2<br />
    netmask 255.255.255.0<br />
    gateway 192.168.1.1</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>If you receive an error to the effect of &#8220;Cannot ioctl TUNSETIFF tap0,&#8221; try tap1 instead.</p>
<p>That&#8217;s all there is to it &#8212; no silly scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-648</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Mon, 08 Mar 2010 22:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-648</guid>
		<description>The server bridge line should use the following format:

server-bridge [netmask] [first ip to assign] [last ip to assign]

The final 2 parameters should match addresses on your local network which the openvpn server can assign to clients when they connect. It&#039;s likely that you&#039;ll need to change this in your setup if your local network isn&#039;t using the 10.1.0.x range.</description>
		<content:encoded><![CDATA[<p>The server bridge line should use the following format:</p>
<p>server-bridge [netmask] [first ip to assign] [last ip to assign]</p>
<p>The final 2 parameters should match addresses on your local network which the openvpn server can assign to clients when they connect. It&#8217;s likely that you&#8217;ll need to change this in your setup if your local network isn&#8217;t using the 10.1.0.x range.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dec</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-641</link>
		<dc:creator>Dec</dc:creator>
		<pubDate>Wed, 03 Mar 2010 23:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-641</guid>
		<description>Hi,
I followed your guide and all seemed to go well untill I ran ./bridge start. At this point my server dropped off the network. I can get it on again by running ./bridge stop.

What have I configured wrong in the server.conf file?
server-bridge  255.255.255.0 10.1.0.236 10.1.0.245.
is this what it should be or should it be the ISP&#039;s gateway.
Also what should the push .route be?

Thanks for your help.
Dec</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I followed your guide and all seemed to go well untill I ran ./bridge start. At this point my server dropped off the network. I can get it on again by running ./bridge stop.</p>
<p>What have I configured wrong in the server.conf file?<br />
server-bridge  255.255.255.0 10.1.0.236 10.1.0.245.<br />
is this what it should be or should it be the ISP&#8217;s gateway.<br />
Also what should the push .route be?</p>
<p>Thanks for your help.<br />
Dec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dynaken</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-615</link>
		<dc:creator>dynaken</dc:creator>
		<pubDate>Thu, 31 Dec 2009 21:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-615</guid>
		<description>Cliff, 

The command &quot;update-rc.d bridge defaults&quot; will make the bridging works again if the computer reboot. If you don&#039;t do it everytime the computer reboot, then eth0 returns to it&#039;s ip again without being bridged with tap0

So what you need to do is copy the script that he linked into a file called &quot;bridge&quot; and save it into /etc/init.d/

Once you did that do a chmod +x /etc/init.d/bridge so that it&#039;s executable

Then do the update-rc.d bridge defaults and it&#039;ll work. Make sure you edit the top portion of the script to cater your network before running the script.

You can run the briding right away without reboot by doing &quot;/etc/init.d/bridge start&quot;</description>
		<content:encoded><![CDATA[<p>Cliff, </p>
<p>The command &#8220;update-rc.d bridge defaults&#8221; will make the bridging works again if the computer reboot. If you don&#8217;t do it everytime the computer reboot, then eth0 returns to it&#8217;s ip again without being bridged with tap0</p>
<p>So what you need to do is copy the script that he linked into a file called &#8220;bridge&#8221; and save it into /etc/init.d/</p>
<p>Once you did that do a chmod +x /etc/init.d/bridge so that it&#8217;s executable</p>
<p>Then do the update-rc.d bridge defaults and it&#8217;ll work. Make sure you edit the top portion of the script to cater your network before running the script.</p>
<p>You can run the briding right away without reboot by doing &#8220;/etc/init.d/bridge start&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Confused</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-612</link>
		<dc:creator>Confused</dc:creator>
		<pubDate>Tue, 22 Dec 2009 20:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-612</guid>
		<description>I was ok until I came to the server.conf file. It wasn&#039;t there but i assume this needs to be created from scratch? I&#039;m stuck on the server bridging and the push route lines.

How do I know what to put for the start and end ips? No idea what to put for the push route either. I&#039;m using a vps.</description>
		<content:encoded><![CDATA[<p>I was ok until I came to the server.conf file. It wasn&#8217;t there but i assume this needs to be created from scratch? I&#8217;m stuck on the server bridging and the push route lines.</p>
<p>How do I know what to put for the start and end ips? No idea what to put for the push route either. I&#8217;m using a vps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlado</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-611</link>
		<dc:creator>Vlado</dc:creator>
		<pubDate>Wed, 09 Dec 2009 14:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-611</guid>
		<description>Excellent tutorial. It worked on a debian lenny box and the only thing that I had to change is the line in server.conf:

dev tap

to

dev tap0

because we are using already defined tap interface(see more about Ethernet Bridging in OpenVPN documentation)

Otherwise, I was wondering about one thing:
How can I remove pkcs12 client from server&#039;s database?

Regards, Vlado</description>
		<content:encoded><![CDATA[<p>Excellent tutorial. It worked on a debian lenny box and the only thing that I had to change is the line in server.conf:</p>
<p>dev tap</p>
<p>to</p>
<p>dev tap0</p>
<p>because we are using already defined tap interface(see more about Ethernet Bridging in OpenVPN documentation)</p>
<p>Otherwise, I was wondering about one thing:<br />
How can I remove pkcs12 client from server&#8217;s database?</p>
<p>Regards, Vlado</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cliffy</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-609</link>
		<dc:creator>Cliffy</dc:creator>
		<pubDate>Mon, 16 Nov 2009 16:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-609</guid>
		<description>&quot;You will also need to set it to create the bridge at boot time:

    update-rc.d bridge defaults&quot;

I don&#039;t get this part. Trying to run that as a command doesn&#039;t work. I can&#039;t see where I would set up the interface at boot. Should I just put the script you linked in rc.local?</description>
		<content:encoded><![CDATA[<p>&#8220;You will also need to set it to create the bridge at boot time:</p>
<p>    update-rc.d bridge defaults&#8221;</p>
<p>I don&#8217;t get this part. Trying to run that as a command doesn&#8217;t work. I can&#8217;t see where I would set up the interface at boot. Should I just put the script you linked in rc.local?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djsnick</title>
		<link>http://www.monkeedev.co.uk/blog/2009/03/06/setting-up-openvpn-in-debianubuntu/comment-page-1/#comment-608</link>
		<dc:creator>djsnick</dc:creator>
		<pubDate>Sun, 15 Nov 2009 05:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.monkeedev.co.uk/blog/?p=22#comment-608</guid>
		<description>@ dugger

as root, try &#039;chmod 700 *&#039; in /etc/openvpn/easy-rsa</description>
		<content:encoded><![CDATA[<p>@ dugger</p>
<p>as root, try &#8216;chmod 700 *&#8217; in /etc/openvpn/easy-rsa</p>
]]></content:encoded>
	</item>
</channel>
</rss>
