<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SSH Tunnel &#8211; 悠然居</title>
	<atom:link href="https://wordpress.youran.me/tag/ssh-tunnel/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.youran.me</link>
	<description>极客技术博客</description>
	<lastBuildDate>Sat, 06 Dec 2014 09:16:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>使用加密的squid配合stunnel实现HTTP代理</title>
		<link>https://wordpress.youran.me/encrypted-squid-stunnel/</link>
					<comments>https://wordpress.youran.me/encrypted-squid-stunnel/#comments</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Fri, 09 Nov 2012 15:03:46 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[SSH Tunnel]]></category>
		<category><![CDATA[stunnel]]></category>
		<category><![CDATA[代理]]></category>
		<category><![CDATA[加密]]></category>
		<guid isPermaLink="false">http://wordpress.youran.me/?p=373</guid>

					<description><![CDATA[现在大部分人都是用ssh tunnel来搭建socks5代理，其实这种方式效率并不高，ssh tunnel并不是为了做代理而存在的。一个比较好的方法是加密squid配合stunnel实现http代理。下面介绍在Archlinux下配置https squid和windows下配置stunnel的方法。 1.首先是Archlinux下安装squid。注意现在squid在AUR里，需要先用makepkg生成yaourt的安装包然后安装。此步骤不在本文讨论范围内。 2. 配置squid，主要包括添加访问权限，以及配置https监听模式。 2.1 创建证明书文件 openssl req -new &#62; yourdomain.com.csr openssl rsa -in privkey.pem -out yourdomain.com.key openssl x509 -in yourdomain.com.csr -out yourdomain.com.crt -req -signkey yourdomain.com.key -days 3650 然后将yourdomain.com.crt和yourdomain.com.key拷贝到/etc/squid目录下（或其他目录）。 2.2 添加squid用户 这一步是生成用户名密码对，同时将密码用hash函数处理。用于squid的用户认证。 &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/encrypted-squid-stunnel/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Dropbear下的SSH Tunnel设置</title>
		<link>https://wordpress.youran.me/dropbear%e4%b8%8b%e7%9a%84ssh-tunnel%e8%ae%be%e7%bd%ae/</link>
					<comments>https://wordpress.youran.me/dropbear%e4%b8%8b%e7%9a%84ssh-tunnel%e8%ae%be%e7%bd%ae/#respond</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Mon, 31 Oct 2011 07:46:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Dropbear]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH Tunnel]]></category>
		<category><![CDATA[代理]]></category>
		<category><![CDATA[翻墙]]></category>
		<guid isPermaLink="false">http://wordpress.youran.me/?p=201</guid>

					<description><![CDATA[大部分人都是使用OpenSSH来建立SSH代理，而Dropbear这个轻量级ssh服务器也是有不少人用。但是用网上常见的建立ssh代理的方法在Dropbear上可能会出错。本文介绍Dropbear下的SSH代理服务建立过程。 问题在/etc/shells这个文件中，有时候并没有添加/sbin/nologin。所以即便你给一个帐号赋予/sbin/nologin，也不能生效。解决的办法就是在/etc/shells这个文件中添加一行： /sbin/nologin 然后再按按照下面命令添加帐号即可： useradd -M -s /sbin/nologin -n username 有些发行版可能是下面的命令： useradd -s /sbin/nologin username 注意，有些发行版中可能是/usr/sbin/nologin 其中username是需要的ssh用户名。然后使用下面命令来设置密码： passwd username 就这样，一个仅有代理权限的SSH账号就完成了。 【注意】 Dropbear 0.51及以下版本有BUG，会导致SSH Tunnel经常掉线，如果装的是所述版本的Dropbear，可以去Debian官方软件库下载更新版本的安装包，自己dpkg手动安装即可。 本文为悠然居(https://wordpress.youran.me/)的原创文章，转载请注明出处！]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/dropbear%e4%b8%8b%e7%9a%84ssh-tunnel%e8%ae%be%e7%bd%ae/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 32/45 objects using Disk
Page Caching using Disk: Enhanced 
Database Caching 4/12 queries in 0.002 seconds using Disk

Served from: wordpress.youran.me @ 2026-09-03 16:08:27 by W3 Total Cache
-->