<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Pi_Stunnel_Rsync_Chain</id>
	<title>Pi Stunnel Rsync Chain - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Pi_Stunnel_Rsync_Chain"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Pi_Stunnel_Rsync_Chain&amp;action=history"/>
	<updated>2026-06-19T23:45:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Pi_Stunnel_Rsync_Chain&amp;diff=15994&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;This guide assumes you&#039;re using SSH on local port 2222 to connect to stunnel on port 443 with the remote stunnel server.  Steps for starting up a Raspberry Pi Stunnel SSH chai...&quot;</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Pi_Stunnel_Rsync_Chain&amp;diff=15994&amp;oldid=prev"/>
		<updated>2017-04-05T05:16:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This guide assumes you&amp;#039;re using SSH on local port 2222 to connect to stunnel on port 443 with the remote stunnel server.  Steps for starting up a Raspberry Pi Stunnel SSH chai...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This guide assumes you&amp;#039;re using SSH on local port 2222 to connect to stunnel on port 443 with the remote stunnel server.&lt;br /&gt;
&lt;br /&gt;
Steps for starting up a Raspberry Pi Stunnel SSH chain. Also see [[Stunnel/SSH]]&lt;br /&gt;
&lt;br /&gt;
Server side:&lt;br /&gt;
* (Optionally, use docker to run stunnel and ssh servers.)&lt;br /&gt;
* Fire up ssh server (locally bound port only), listening on port 22 (or ssh docker container)&lt;br /&gt;
*  Fire up stunnel server, listening on port 443 and forwarding to local port 22 (or stunnel docker container)&lt;br /&gt;
* Open firewall script&lt;br /&gt;
&lt;br /&gt;
For dockerfile for stunnel see https://git.charlesreid1.com/docker/d-stunnel&lt;br /&gt;
&lt;br /&gt;
Client side:&lt;br /&gt;
* Configure stunnel using SSH over 443 config file (see git repo link below or [[Stunnel/SSH]])&lt;br /&gt;
* Fire up stunnel client, listening on local port 2222 and forwarding to port 443&lt;br /&gt;
* Connect to local port 2222 via ssh, logging in with whatever credentials on the remote machine you want (or have, depending on who ran the stunnel server).&lt;br /&gt;
&lt;br /&gt;
Connect to localhost, not the remote server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ssh -p 2222 root@localhost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: to debug, see [[Stunnel/Debugging]].&lt;br /&gt;
&lt;br /&gt;
For stunnel config on raspberry pi see https://git.charlesreid1.com/rpi/pi-stunnel&lt;br /&gt;
&lt;br /&gt;
For stunnel config on mac see https://git.charlesreid1.com/mac/m-stunnel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Flags=&lt;br /&gt;
&lt;br /&gt;
{{PiFlag}}&lt;br /&gt;
&lt;br /&gt;
{{SSHFlag}}&lt;br /&gt;
&lt;br /&gt;
{{StunnelFlag}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>