<?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 using radius on FreeBSD</title>
	<atom:link href="http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hongens.nl</link>
	<description>A systems administrator's diary</description>
	<lastBuildDate>Wed, 26 Oct 2011 21:58:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: acdmail</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-49347</link>
		<dc:creator>acdmail</dc:creator>
		<pubDate>Wed, 28 Sep 2011 12:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-49347</guid>
		<description>Hi Rain,
If you are using OpenVPN with default settings proto: UDP 1194 try to add explicit-exit-notify in in client config, this will assure the client notifies the server as soon as it is disconnecting, otherwise server will disconnect the client a bit later after the default keepalive expires.</description>
		<content:encoded><![CDATA[<p>Hi Rain,<br />
If you are using OpenVPN with default settings proto: UDP 1194 try to add explicit-exit-notify in in client config, this will assure the client notifies the server as soon as it is disconnecting, otherwise server will disconnect the client a bit later after the default keepalive expires.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rain</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-48502</link>
		<dc:creator>Rain</dc:creator>
		<pubDate>Thu, 25 Aug 2011 14:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-48502</guid>
		<description>Hi everyone,
I am facing a problem when user disconnected openvpn.
I am using openvpn + freeradius on Debian 6.0 to authenticate user. To disable duplicate  login(connect) to openvpn  server I configure freeradius user parameter &quot;Simultaneous-Use&quot; to 1. I can successfully connect by freeradius. However, I can not reconnect after disconnect. 
The problem is user are still logged in. So I can not &#039;duplicate&#039; log in since user login session limited to 1. I found the problem by executing &quot;radwho&quot; after user disconnect.
The user should be log off after I disconnect.
  Is there any one have the same problem? How to fix this?</description>
		<content:encoded><![CDATA[<p>Hi everyone,<br />
I am facing a problem when user disconnected openvpn.<br />
I am using openvpn + freeradius on Debian 6.0 to authenticate user. To disable duplicate  login(connect) to openvpn  server I configure freeradius user parameter &#8220;Simultaneous-Use&#8221; to 1. I can successfully connect by freeradius. However, I can not reconnect after disconnect.<br />
The problem is user are still logged in. So I can not &#8216;duplicate&#8217; log in since user login session limited to 1. I found the problem by executing &#8220;radwho&#8221; after user disconnect.<br />
The user should be log off after I disconnect.<br />
  Is there any one have the same problem? How to fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krzee</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-39460</link>
		<dc:creator>krzee</dc:creator>
		<pubDate>Fri, 21 May 2010 04:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-39460</guid>
		<description>a) you only need a bridge when you have a layer2 protocol going over the vpn.  If using IP traffic use tun so you have less overhead and layer2 attacks will not work over the vpn.

b) 2.1.1 has the windows gui built in, www.openvpn.net/download
the .se link is no longer up to date

sorry for the doublepost, i had a typo to fix</description>
		<content:encoded><![CDATA[<p>a) you only need a bridge when you have a layer2 protocol going over the vpn.  If using IP traffic use tun so you have less overhead and layer2 attacks will not work over the vpn.</p>
<p>b) 2.1.1 has the windows gui built in, <a href="http://www.openvpn.net/download" rel="nofollow">http://www.openvpn.net/download</a><br />
the .se link is no longer up to date</p>
<p>sorry for the doublepost, i had a typo to fix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krzee</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-39459</link>
		<dc:creator>krzee</dc:creator>
		<pubDate>Fri, 21 May 2010 04:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-39459</guid>
		<description>a) you only need a bridge when you have a layer2 protocol going over the vpn.  If using IP traffic use tun so you have less overhead and layer2 attacks will not work over the vpn.

b) 2.1.1 has the windows gui built in, www.openvpn.net/download
the .se link is no longer up to date</description>
		<content:encoded><![CDATA[<p>a) you only need a bridge when you have a layer2 protocol going over the vpn.  If using IP traffic use tun so you have less overhead and layer2 attacks will not work over the vpn.</p>
<p>b) 2.1.1 has the windows gui built in, <a href="http://www.openvpn.net/download" rel="nofollow">http://www.openvpn.net/download</a><br />
the .se link is no longer up to date</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vipera</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-33525</link>
		<dc:creator>vipera</dc:creator>
		<pubDate>Mon, 31 Aug 2009 14:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-33525</guid>
		<description>I have got a question, i want to use a script (client-connect &amp; client-disconnet) on DebianEtch but i couldn&#039;t find a good script on the Net. Could anyone help me? and show a good script... 

thx, vipera</description>
		<content:encoded><![CDATA[<p>I have got a question, i want to use a script (client-connect &amp; client-disconnet) on DebianEtch but i couldn&#8217;t find a good script on the Net. Could anyone help me? and show a good script&#8230; </p>
<p>thx, vipera</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T. Bailey</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-32893</link>
		<dc:creator>T. Bailey</dc:creator>
		<pubDate>Tue, 04 Aug 2009 22:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-32893</guid>
		<description>Absolutely brilliant.  Thanks for taking the time to share this!</description>
		<content:encoded><![CDATA[<p>Absolutely brilliant.  Thanks for taking the time to share this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-8612</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 10 Apr 2008 21:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-8612</guid>
		<description>I found this document very useful, and combine the information in it with the information in the document http://www.mired.org/home/mwm/papers/FreeBSD-OpenVPN-Bridging.html to eventually achieve a working solution.  I&#039;m actually not doing radius (yet), but this document was the best I found for the basic setup on wanted in my general situation.

I am working with FreeBSD 7.0R, and thought I&#039;d mention one thing which tripped me up.  In my case &#039;tun&#039; did not come &#039;up&#039; without manual intervention, and I didn&#039;t notice it in &#039;ifconfig -a&#039; for some time.  In my case, I made my &#039;server-up.sh&#039; script read:
&lt;code&gt;
#!/bin/sh
ifconfig bridge0 addm $dev
ifconfig $dev up
&lt;/code&gt;
which addressed the problem.  I had no need to specify any addresses for anything besides the standard for fxp0 (in my case.)

Another thing which caused me confusion was the &#039;server-bridge&#039; setting.  In my case, for the first parameter, I used the internal IP of my router (a different FreeBSD host in my case) which is the standard gateway for all machines in my internal network.  I did not need any &#039;push &quot;route ...&quot;&#039; items in my situation.  I found myself wishing for a diagram of Angelo&#039;s topology (but also, very happy for what he provided of course!)

I also found better luck pushing DNS entries to the TAP-Win32 interface on my XP client test host by adding the directive:
&lt;code&gt;
push &quot;ip-win32 dynamic&quot;
&lt;/code&gt;
but the jury is still out on how well it really works in practice.  I&#039;m just adding these comments early on while things are still fresh in my mind in case others find them helpful.</description>
		<content:encoded><![CDATA[<p>I found this document very useful, and combine the information in it with the information in the document <a href="http://www.mired.org/home/mwm/papers/FreeBSD-OpenVPN-Bridging.html" rel="nofollow">http://www.mired.org/home/mwm/papers/FreeBSD-OpenVPN-Bridging.html</a> to eventually achieve a working solution.  I&#8217;m actually not doing radius (yet), but this document was the best I found for the basic setup on wanted in my general situation.</p>
<p>I am working with FreeBSD 7.0R, and thought I&#8217;d mention one thing which tripped me up.  In my case &#8216;tun&#8217; did not come &#8216;up&#8217; without manual intervention, and I didn&#8217;t notice it in &#8216;ifconfig -a&#8217; for some time.  In my case, I made my &#8216;server-up.sh&#8217; script read:<br />
<code><br />
#!/bin/sh<br />
ifconfig bridge0 addm $dev<br />
ifconfig $dev up<br />
</code><br />
which addressed the problem.  I had no need to specify any addresses for anything besides the standard for fxp0 (in my case.)</p>
<p>Another thing which caused me confusion was the &#8216;server-bridge&#8217; setting.  In my case, for the first parameter, I used the internal IP of my router (a different FreeBSD host in my case) which is the standard gateway for all machines in my internal network.  I did not need any &#8216;push &#8220;route &#8230;&#8221;&#8216; items in my situation.  I found myself wishing for a diagram of Angelo&#8217;s topology (but also, very happy for what he provided of course!)</p>
<p>I also found better luck pushing DNS entries to the TAP-Win32 interface on my XP client test host by adding the directive:<br />
<code><br />
push "ip-win32 dynamic"<br />
</code><br />
but the jury is still out on how well it really works in practice.  I&#8217;m just adding these comments early on while things are still fresh in my mind in case others find them helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: angelo</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-6833</link>
		<dc:creator>angelo</dc:creator>
		<pubDate>Wed, 06 Feb 2008 15:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-6833</guid>
		<description>Sebastiaan, Regis, you are right, I did not post the client config. Now I added it to the bottom of the post. 

It&#039;s quite default, but the most important line it the &#039;auth-user-pass&#039;, which tells the client it should use username and password authentication instead of certificate based authentication.</description>
		<content:encoded><![CDATA[<p>Sebastiaan, Regis, you are right, I did not post the client config. Now I added it to the bottom of the post. </p>
<p>It&#8217;s quite default, but the most important line it the &#8216;auth-user-pass&#8217;, which tells the client it should use username and password authentication instead of certificate based authentication.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-6621</link>
		<dc:creator>Sebastiaan</dc:creator>
		<pubDate>Tue, 29 Jan 2008 02:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-6621</guid>
		<description>Any special options in the client.conf file on the client-side? or just the example  .conf file?</description>
		<content:encoded><![CDATA[<p>Any special options in the client.conf file on the client-side? or just the example  .conf file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis A. Despres</title>
		<link>http://blog.hongens.nl/guides/setting-up-openvpn-using-radius-on-freebsd/comment-page-1/#comment-6072</link>
		<dc:creator>Regis A. Despres</dc:creator>
		<pubDate>Sun, 23 Dec 2007 11:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hongens.nl/?page_id=42#comment-6072</guid>
		<description>It would be lovely if you explain your openvpn client conf &amp; package =)</description>
		<content:encoded><![CDATA[<p>It would be lovely if you explain your openvpn client conf &amp; package =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

