<?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: FreeBSD VPN</title>
	<atom:link href="http://www.clearchain.com/blog/posts/freebsd-vpn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clearchain.com/blog/posts/freebsd-vpn</link>
	<description>-= Daily Happenings =-</description>
	<lastBuildDate>Sun, 14 Mar 2010 14:04:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Benjamin Close</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-383</link>
		<dc:creator>Benjamin Close</dc:creator>
		<pubDate>Thu, 14 Jan 2010 21:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-383</guid>
		<description>It seems this article may now be a little out of date for the new pptp/ppp. 
A possible fix to your problem may be:

1&gt; Remove the line: disable ipv6cp        from ppp.conf
2&gt; Make sure you have this line correct:  set server /var/run/pptp_ppp_%d &quot;&quot; 0700
3&gt; Create the directory /var/run/pts  
4&gt; If things still don&#039;t work try modifying the line in 2&gt; to read: set server /var/run/pts/%d.if &quot;&quot; 0700</description>
		<content:encoded><![CDATA[<p>It seems this article may now be a little out of date for the new pptp/ppp.<br />
A possible fix to your problem may be:</p>
<p>1&gt; Remove the line: disable ipv6cp        from ppp.conf<br />
2&gt; Make sure you have this line correct:  set server /var/run/pptp_ppp_%d &#8220;&#8221; 0700<br />
3&gt; Create the directory /var/run/pts<br />
4&gt; If things still don&#8217;t work try modifying the line in 2&gt; to read: set server /var/run/pts/%d.if &#8220;&#8221; 0700</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SIFE</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-381</link>
		<dc:creator>SIFE</dc:creator>
		<pubDate>Thu, 14 Jan 2010 14:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-381</guid>
		<description>salamo alikom ,
i get this problem can you correct me :
Jan 14 03:10:27 localhost pptp[37402]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jan 14 03:10:27 localhost pptp[37407]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 &#039;Start-Control-Connection-Request&#039;
Jan 14 03:10:27 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jan 14 03:10:27 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jan 14 03:10:28 localhost pptp[37407]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 &#039;Outgoing-Call-Request&#039;
Jan 14 03:10:29 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jan 14 03:10:29 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer&#039;s call ID 41984).
Jan 14 03:10:29 localhost kernel: tun0: link state changed to UP
Jan 14 03:10:29 localhost ppp[37402]: tun0: Warning: disable ipv6cp: Invalid command
Jan 14 03:10:29 localhost ppp[37402]: tun0: Warning: disable ipv6cp: Failed 1
Jan 14 03:10:29 localhost ppp[37402]: tun0: Alert: deflink: Can&#039;t create /var/run/pts/2.if: No such file or directory
Jan 14 03:10:31 localhost pptp[37407]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Jan 14 03:10:31 localhost kernel: tun0: link state changed to DOWN
Jan 14 03:10:31 localhost ppp[37402]: tun0: Warning: deflink: Unable to set physical to speed 0
Jan 14 03:10:31 localhost ppp[37402]: tun0: Warning: deflink: Unable to set physical to speed 0
Jan 14 03:10:31 localhost ppp[37402]: tun0: Warning: deflink: tcsetattr: Unable to restore device settings
Jan 14 03:10:31 localhost ppp[37402]: tun0: Alert: deflink: Can&#039;t remove /var/run/pts/2.if: No such file or directory
Jan 14 03:10:31 localhost pptp[37407]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 &#039;Call-Clear-Request&#039;
Jan 14 03:10:31 localhost pptp[37407]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)</description>
		<content:encoded><![CDATA[<p>salamo alikom ,<br />
i get this problem can you correct me :<br />
Jan 14 03:10:27 localhost pptp[37402]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated<br />
Jan 14 03:10:27 localhost pptp[37407]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 &#8216;Start-Control-Connection-Request&#8217;<br />
Jan 14 03:10:27 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply<br />
Jan 14 03:10:27 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.<br />
Jan 14 03:10:28 localhost pptp[37407]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 &#8216;Outgoing-Call-Request&#8217;<br />
Jan 14 03:10:29 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.<br />
Jan 14 03:10:29 localhost pptp[37407]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer&#8217;s call ID 41984).<br />
Jan 14 03:10:29 localhost kernel: tun0: link state changed to UP<br />
Jan 14 03:10:29 localhost ppp[37402]: tun0: Warning: disable ipv6cp: Invalid command<br />
Jan 14 03:10:29 localhost ppp[37402]: tun0: Warning: disable ipv6cp: Failed 1<br />
Jan 14 03:10:29 localhost ppp[37402]: tun0: Alert: deflink: Can&#8217;t create /var/run/pts/2.if: No such file or directory<br />
Jan 14 03:10:31 localhost pptp[37407]: anon log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)<br />
Jan 14 03:10:31 localhost kernel: tun0: link state changed to DOWN<br />
Jan 14 03:10:31 localhost ppp[37402]: tun0: Warning: deflink: Unable to set physical to speed 0<br />
Jan 14 03:10:31 localhost ppp[37402]: tun0: Warning: deflink: Unable to set physical to speed 0<br />
Jan 14 03:10:31 localhost ppp[37402]: tun0: Warning: deflink: tcsetattr: Unable to restore device settings<br />
Jan 14 03:10:31 localhost ppp[37402]: tun0: Alert: deflink: Can&#8217;t remove /var/run/pts/2.if: No such file or directory<br />
Jan 14 03:10:31 localhost pptp[37407]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 &#8216;Call-Clear-Request&#8217;<br />
Jan 14 03:10:31 localhost pptp[37407]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Close</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-122</link>
		<dc:creator>Benjamin Close</dc:creator>
		<pubDate>Thu, 25 Jun 2009 23:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-122</guid>
		<description>One thing that might be useful is if your using openBSD&#039;s pf then you can&#039;t use the antispoof clause:

#
# Watch Antispoofing, we can&#039;t use this at the moment as it breaks
# vpn support
#
#####
#antispoof for { $internalif, $externalif }

Might help with your setup, might not</description>
		<content:encoded><![CDATA[<p>One thing that might be useful is if your using openBSD&#8217;s pf then you can&#8217;t use the antispoof clause:</p>
<p>#<br />
# Watch Antispoofing, we can&#8217;t use this at the moment as it breaks<br />
# vpn support<br />
#<br />
#####<br />
#antispoof for { $internalif, $externalif }</p>
<p>Might help with your setup, might not</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dqueue</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-121</link>
		<dc:creator>dqueue</dc:creator>
		<pubDate>Thu, 25 Jun 2009 18:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-121</guid>
		<description>Thank you for this. This configuration works well for me under FreeBSD 6.4p5. Believe me, this is a relief. Under OpenBSD, I have problems with Mac-based clients; some connect, but do not route traffic for some reason.

Cheers.</description>
		<content:encoded><![CDATA[<p>Thank you for this. This configuration works well for me under FreeBSD 6.4p5. Believe me, this is a relief. Under OpenBSD, I have problems with Mac-based clients; some connect, but do not route traffic for some reason.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Close</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-114</link>
		<dc:creator>Benjamin Close</dc:creator>
		<pubDate>Thu, 28 May 2009 06:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-114</guid>
		<description>You may have to create the file pptp.conf from memory it isn&#039;t installed by default.</description>
		<content:encoded><![CDATA[<p>You may have to create the file pptp.conf from memory it isn&#8217;t installed by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-112</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 25 May 2009 18:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-112</guid>
		<description>Im new to freebsd but after the install i dont have a pptp.conf in that dir the one i have is ppp is the same or are those different.

Thanks</description>
		<content:encoded><![CDATA[<p>Im new to freebsd but after the install i dont have a pptp.conf in that dir the one i have is ppp is the same or are those different.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin Close</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-48</link>
		<dc:creator>Benjamin Close</dc:creator>
		<pubDate>Thu, 04 Dec 2008 01:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-48</guid>
		<description>Hi Dan, 
 In regards to the IP&#039;s:

&gt; localip 192.168.2.1
&gt; remoteip 192.168.2.56-75

&gt; # Listen on the outside interface only
&gt; listen 130.220.37.202

The local/remote ones here really don&#039;t do anything appart from configuring a range. The listen is the external network interface of the server.

&gt; set ifaddr 192.168.1.1 192.168.1.56-192.168.1.74 255.255.255.255
&gt;   set dns 192.168.0.1
&gt;    set nbns 192.168.0.1


192.168.1.1 is the internal address allocated to the tun* device and is what the client ends up talking too. With 192.168.1.56-192.168.1.74 being the dynamic range allocated to clients. In regards to dns/nbns ip this is the address of the internal network card of the servers 

Ie: When clients connect you end up with a tun* device created on the server which is:

inet 192.168.1.1 --&gt; 192.168.1.56

whilst the client ends up with:

inet 192.168.1.56 --&gt; 192.168.1.1

Routing on this network then handles 192.168.1/24 -&gt; 192.168.0/24</description>
		<content:encoded><![CDATA[<p>Hi Dan,<br />
 In regards to the IP&#8217;s:</p>
<p>> localip 192.168.2.1<br />
> remoteip 192.168.2.56-75</p>
<p>> # Listen on the outside interface only<br />
> listen 130.220.37.202</p>
<p>The local/remote ones here really don&#8217;t do anything appart from configuring a range. The listen is the external network interface of the server.</p>
<p>> set ifaddr 192.168.1.1 192.168.1.56-192.168.1.74 255.255.255.255<br />
>   set dns 192.168.0.1<br />
>    set nbns 192.168.0.1</p>
<p>192.168.1.1 is the internal address allocated to the tun* device and is what the client ends up talking too. With 192.168.1.56-192.168.1.74 being the dynamic range allocated to clients. In regards to dns/nbns ip this is the address of the internal network card of the servers </p>
<p>Ie: When clients connect you end up with a tun* device created on the server which is:</p>
<p>inet 192.168.1.1 &#8211;> 192.168.1.56</p>
<p>whilst the client ends up with:</p>
<p>inet 192.168.1.56 &#8211;> 192.168.1.1</p>
<p>Routing on this network then handles 192.168.1/24 -> 192.168.0/24</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Alexander</title>
		<link>http://www.clearchain.com/blog/posts/freebsd-vpn/comment-page-1#comment-47</link>
		<dc:creator>Dan Alexander</dc:creator>
		<pubDate>Wed, 03 Dec 2008 03:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=60#comment-47</guid>
		<description>Maybe I missed something, but I need to know where those ip addresses are coming from. Which ones are my dynamically assigned address and which is my users dynamically assigned address.</description>
		<content:encoded><![CDATA[<p>Maybe I missed something, but I need to know where those ip addresses are coming from. Which ones are my dynamically assigned address and which is my users dynamically assigned address.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
