<?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: 单网卡 Ubuntu 服务器打造 PPTP Server</title>
	<atom:link href="http://blog.istef.info/2008/10/17/ubuntu-pptp-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 08 Feb 2012 10:55:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: 在ubuntu server下架设vpn服务器 &#124; Acool</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-124959</link>
		<dc:creator>在ubuntu server下架设vpn服务器 &#124; Acool</dc:creator>
		<pubDate>Wed, 01 Feb 2012 04:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-124959</guid>
		<description>[...] 部分内容参照：花儿开了 &#8211; 单网卡 Ubuntu 服务器打造 PPTP Server  var jiathis_config = { shareImg:{ &quot;showType&quot;:&quot;MARK&quot;, &quot;bgColor&quot;:&quot;&quot;, &quot;txtColor&quot;:&quot;&quot;, &quot;text&quot;:&quot;&quot;, &quot;services&quot;:&quot;&quot;, &quot;position&quot;:&quot;&quot;, &quot;imgwidth&quot;:&quot;&quot;, &quot;imgheight&quot;:&quot;&quot;, &quot;divname&quot;:&quot;&quot; } }      Acool Share分享到：                     var jiathis_config={ data_track_clickback:true, summary:&quot;&quot;, hideMore:false }   #anyShare { width:100%; background:#FFF; box-shadow:0 0 5px #EEE; font-family: &#039;comic sans ms&#039;, fantasy !important; border:0 !important; border-radius:9px; border-collapse:collapse; } #anyShare i { float:right; color:#EEE; font-size:10px;padding-right:10px; } #anyShare b { font-family:&quot;5fae8f6f96c59ed1&quot;; font-size:14px; color:#999; padding-left:10px; display:block; border-bottom:1px dashed #EEE; } #anyShare td { width:100%;border:0 !important; padding:0 !important;vertical-align:middle; } #anyShare br { } #jiathis_style_32x32{padding-left:10px;} #AS-BTN a { overflow:hidden; margin-left:10px; opacity:0.7; border-radius:5px; background:#FFF; } td#AS-IMG{padding-right:5px !important;} #AS-TXT { border-bottom:1px dashed #EEE; line-height:25px; } #AS-BTN a:hover { opacity:1; }      未分类   &#8592; Sublime Text 2常用快捷键      /*  */ [...]</description>
		<content:encoded><![CDATA[<p>[...] 部分内容参照：花儿开了 &#8211; 单网卡 Ubuntu 服务器打造 PPTP Server  var jiathis_config = { shareImg:{ &quot;showType&quot;:&quot;MARK&quot;, &quot;bgColor&quot;:&quot;&quot;, &quot;txtColor&quot;:&quot;&quot;, &quot;text&quot;:&quot;&quot;, &quot;services&quot;:&quot;&quot;, &quot;position&quot;:&quot;&quot;, &quot;imgwidth&quot;:&quot;&quot;, &quot;imgheight&quot;:&quot;&quot;, &quot;divname&quot;:&quot;&quot; } }      Acool Share分享到：                     var jiathis_config={ data_track_clickback:true, summary:&quot;&quot;, hideMore:false }   #anyShare { width:100%; background:#FFF; box-shadow:0 0 5px #EEE; font-family: &#039;comic sans ms&#039;, fantasy !important; border:0 !important; border-radius:9px; border-collapse:collapse; } #anyShare i { float:right; color:#EEE; font-size:10px;padding-right:10px; } #anyShare b { font-family:&quot;5fae8f6f96c59ed1&quot;; font-size:14px; color:#999; padding-left:10px; display:block; border-bottom:1px dashed #EEE; } #anyShare td { width:100%;border:0 !important; padding:0 !important;vertical-align:middle; } #anyShare br { } #jiathis_style_32x32{padding-left:10px;} #AS-BTN a { overflow:hidden; margin-left:10px; opacity:0.7; border-radius:5px; background:#FFF; } td#AS-IMG{padding-right:5px !important;} #AS-TXT { border-bottom:1px dashed #EEE; line-height:25px; } #AS-BTN a:hover { opacity:1; }      未分类   &larr; Sublime Text 2常用快捷键      /*  */ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPer 成长记！ &#187; 单网卡 Ubuntu 服务器打造 PPTP Server</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-124669</link>
		<dc:creator>PHPer 成长记！ &#187; 单网卡 Ubuntu 服务器打造 PPTP Server</dc:creator>
		<pubDate>Fri, 16 Dec 2011 06:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-124669</guid>
		<description>[...] 【转】http://blog.istef.info/2008/10/17/ubuntu-pptp-server/ Did you like this? Share it:Tweet    分类: 未分类 标签:         评论 (0) Trackbacks (0) 发表评论 Trackback [...]</description>
		<content:encoded><![CDATA[<p>[...] 【转】http://blog.istef.info/2008/10/17/ubuntu-pptp-server/ Did you like this? Share it:Tweet    分类: 未分类 标签:         评论 (0) Trackbacks (0) 发表评论 Trackback [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Setup a VPN server in Ubuntu 8.10 for iPhone</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-122722</link>
		<dc:creator>Setup a VPN server in Ubuntu 8.10 for iPhone</dc:creator>
		<pubDate>Fri, 08 Jul 2011 01:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-122722</guid>
		<description>[...] is an excellent How-To in Chinese. I followed it and it works! This post is a summary of what I [...]</description>
		<content:encoded><![CDATA[<p>[...] is an excellent How-To in Chinese. I followed it and it works! This post is a summary of what I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubunto pptp server &#124; diyhk.net</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-122306</link>
		<dc:creator>ubunto pptp server &#124; diyhk.net</dc:creator>
		<pubDate>Sat, 11 Jun 2011 05:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-122306</guid>
		<description>[...] source : http://blog.istef.info/2008/10/17/ubuntu-pptp-server/ [...]</description>
		<content:encoded><![CDATA[<p>[...] source : <a href="http://blog.istef.info/2008/10/17/ubuntu-pptp-server/" rel="nofollow">http://blog.istef.info/2008/10/17/ubuntu-pptp-server/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 使用VPS建立自己的PPTP服务器 &#124; Turin blog</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-122028</link>
		<dc:creator>使用VPS建立自己的PPTP服务器 &#124; Turin blog</dc:creator>
		<pubDate>Sat, 28 May 2011 06:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-122028</guid>
		<description>[...] 单网卡 Ubuntu 服务器打造 PPTP Server [...]</description>
		<content:encoded><![CDATA[<p>[...] 单网卡 Ubuntu 服务器打造 PPTP Server [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lfhong</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-121729</link>
		<dc:creator>lfhong</dc:creator>
		<pubDate>Wed, 06 Apr 2011 02:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-121729</guid>
		<description>mac下建pptp vpn方法
http://newbie.bynap.com/archives/17</description>
		<content:encoded><![CDATA[<p>mac下建pptp vpn方法<br />
<a href="http://newbie.bynap.com/archives/17" rel="nofollow">http://newbie.bynap.com/archives/17</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amazon EC2 上建pptp VPN问题解决一则 &#124; 寻找人生的起点</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-121571</link>
		<dc:creator>Amazon EC2 上建pptp VPN问题解决一则 &#124; 寻找人生的起点</dc:creator>
		<pubDate>Tue, 15 Mar 2011 06:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-121571</guid>
		<description>[...] 单网卡 Ubuntu 服务器打造 PPTP Server [...]</description>
		<content:encoded><![CDATA[<p>[...] 单网卡 Ubuntu 服务器打造 PPTP Server [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ubuntu 9.04下VPN的配置及管理 - 潜心求学</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-121372</link>
		<dc:creator>Ubuntu 9.04下VPN的配置及管理 - 潜心求学</dc:creator>
		<pubDate>Wed, 12 Jan 2011 09:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-121372</guid>
		<description>[...] Ubuntu 9.04下VPN的配置及管理  一月 12th, 2011  发表评论 阅读评论    &#160;教研室里人太多，用P2P软件又没人管（都是师兄师姐，做人就不能自觉点），网络配置又有问题，所以经常上不去网...好在还多了一个端口，就跟几个同学整了个路由器一起用了，教研室还有台废机子，就顺带整了个VPN，这样在寝室的时候也可以连VPN上网了...主要步骤都来源于这篇：http://blog.istef.info/2008/10/17/ubuntu-pptp-server/在此也感慨一下，网上的东西太多太乱了，Google一下，出来的东西倒是不少，但是找到准确的太难了...在这个信息泛滥的时代，大家也尽量少制造些垃圾吧...基于引用文章的精简配置：sudo apt-get install pptpd sudo vi /etc/pptpd.conf去掉文件最末端的 localip 和 remoteip 两个参数的注释，并进行相应修改。这里，localip 是 VPN 连通后服务器的 ip 地址，而 remoteip 则是客户端的可分配 ip 地址。下面是我的配置：&#160;&#160;&#160;&#160;localip 192.168.0.1remoteip 192.168.0.2-8sudo vi /etc/ppp/pptpd-options&#160;&#160;&#160;其他默认，只需修改ms-dns，改成所在地区的dns，不过我加了一个Google的DNS ms-dns 8.8.8.8;sudo vi /etc/ppp/chap-secrets&#160;#设置拨号用的用户名及密码，格式如下a pptpd 密码 *...开启IPV4 forwardsudo vi /etc/sysctl.conf找到类似下面的行并取消它们的注释：net.ipv4.ip_forward=1sudo sysctl -p #使配置立即生效利用iptables 建立NATsudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE这时遇到一个问题，就是只能开百度和Google，其他网页打不开，MTU的问题。最好是VPN客户端拨号完以后，用ping -l 小于1500的值 -f 192.168.0.1 找到小于1500且能ping通的最大的那个值 sudo iptables -A FORWARD -s 192.168.0.0/24 -p tcp -m tcp --tcp-flags SYN,RST SYN-j TCPMSS --set-mss ping出来的值将iptables的配置保存，使得下次开机可以自动运行，否则还需要重新配置sudo iptables-save &gt; /etc/iptables-rules然后修改 /etc/network/interfaces 文件，设置最末尾加上下面这句：pre-up iptables-restore &lt; /etc/iptables-rules因为平时VPN没人用，也没有显示器和键盘等外设，所以配置putty可以进行远程访问。sudo apt-get install openssh-serverwindows上利用putty软件就可以直接登录访问了。至此 VPN设置完毕。    分类:   标签:  VPN&#160; MTU&#160; Ubuntu&#160; Putty&#160; PPTPD&#160;    相关文章 [...]</description>
		<content:encoded><![CDATA[<p>[...] Ubuntu 9.04下VPN的配置及管理  一月 12th, 2011  发表评论 阅读评论    &nbsp;教研室里人太多，用P2P软件又没人管（都是师兄师姐，做人就不能自觉点），网络配置又有问题，所以经常上不去网&#8230;好在还多了一个端口，就跟几个同学整了个路由器一起用了，教研室还有台废机子，就顺带整了个VPN，这样在寝室的时候也可以连VPN上网了&#8230;主要步骤都来源于这篇：http://blog.istef.info/2008/10/17/ubuntu-pptp-server/在此也感慨一下，网上的东西太多太乱了，Google一下，出来的东西倒是不少，但是找到准确的太难了&#8230;在这个信息泛滥的时代，大家也尽量少制造些垃圾吧&#8230;基于引用文章的精简配置：sudo apt-get install pptpd sudo vi /etc/pptpd.conf去掉文件最末端的 localip 和 remoteip 两个参数的注释，并进行相应修改。这里，localip 是 VPN 连通后服务器的 ip 地址，而 remoteip 则是客户端的可分配 ip 地址。下面是我的配置：&nbsp;&nbsp;&nbsp;&nbsp;localip 192.168.0.1remoteip 192.168.0.2-8sudo vi /etc/ppp/pptpd-options&nbsp;&nbsp;&nbsp;其他默认，只需修改ms-dns，改成所在地区的dns，不过我加了一个Google的DNS ms-dns 8.8.8.8;sudo vi /etc/ppp/chap-secrets&nbsp;#设置拨号用的用户名及密码，格式如下a pptpd 密码 *&#8230;开启IPV4 forwardsudo vi /etc/sysctl.conf找到类似下面的行并取消它们的注释：net.ipv4.ip_forward=1sudo sysctl -p #使配置立即生效利用iptables 建立NATsudo iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE这时遇到一个问题，就是只能开百度和Google，其他网页打不开，MTU的问题。最好是VPN客户端拨号完以后，用ping -l 小于1500的值 -f 192.168.0.1 找到小于1500且能ping通的最大的那个值 sudo iptables -A FORWARD -s 192.168.0.0/24 -p tcp -m tcp &#8211;tcp-flags SYN,RST SYN-j TCPMSS &#8211;set-mss ping出来的值将iptables的配置保存，使得下次开机可以自动运行，否则还需要重新配置sudo iptables-save &gt; /etc/iptables-rules然后修改 /etc/network/interfaces 文件，设置最末尾加上下面这句：pre-up iptables-restore &lt; /etc/iptables-rules因为平时VPN没人用，也没有显示器和键盘等外设，所以配置putty可以进行远程访问。sudo apt-get install openssh-serverwindows上利用putty软件就可以直接登录访问了。至此 VPN设置完毕。    分类:   标签:  VPN&nbsp; MTU&nbsp; Ubuntu&nbsp; Putty&nbsp; PPTPD&nbsp;    相关文章 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ubuntu PPTP Configuration</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-120935</link>
		<dc:creator>Ubuntu PPTP Configuration</dc:creator>
		<pubDate>Sun, 24 Oct 2010 16:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-120935</guid>
		<description>[...] Reference:http://blog.istef.info/2008/10/17/ubuntu-pptp-server/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Reference:<a href="http://blog.istef.info/2008/10/17/ubuntu-pptp-server/" rel="nofollow">http://blog.istef.info/2008/10/17/ubuntu-pptp-server/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mz</title>
		<link>http://blog.istef.info/2008/10/17/ubuntu-pptp-server/#comment-120910</link>
		<dc:creator>mz</dc:creator>
		<pubDate>Mon, 18 Oct 2010 16:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.istef.info/?p=1864#comment-120910</guid>
		<description>@polo076 同样的问题，ifconfig发现没有eth0这个接口，用vps的泪目啊</description>
		<content:encoded><![CDATA[<p>@polo076 同样的问题，ifconfig发现没有eth0这个接口，用vps的泪目啊</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/6 queries in 0.003 seconds using memcached
Object Caching 323/337 objects using memcached

Served from: blog.istef.info @ 2012-02-14 05:22:08 -->
