<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Networking - Tag - 300.Watts</title><link>https://300watts.me/tags/networking/</link><description>Networking - Tag - 300.Watts</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>morristai01@gmail.com (Morris)</managingEditor><webMaster>morristai01@gmail.com (Morris)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Thu, 10 Dec 2020 10:04:55 +0800</lastBuildDate><atom:link href="https://300watts.me/tags/networking/" rel="self" type="application/rss+xml"/><item><title>SSH Tunneling Summary</title><link>https://300watts.me/posts/ssh-tunneling-summary/</link><pubDate>Thu, 10 Dec 2020 10:04:55 +0800</pubDate><author><name>Morris</name></author><guid>https://300watts.me/posts/ssh-tunneling-summary/</guid><description><![CDATA[<p>There are three types of SSH port forwarding:</p>
<ol>
<li>
<p><strong><a href="#local-port-forwarding" rel="">Local Port Forwarding</a></strong></p>
<p>Forwards a connection from the client host to the SSH server host and then to the destination host port.</p>
</li>
<li>
<p><strong><a href="#remote-port-forwarding" rel="">Remote Port Forwarding</a></strong></p>
<p>Forwards a port from the server host to the client host and then to the destination host port.</p>
</li>
<li>
<p><strong><a href="#dynamic-port-forwarding" rel="">Dynamic Port Forwarding</a></strong></p>
<p>Creates a SOCKS proxy server that allows communication across a range of ports.</p>
</li>
</ol>
<h2 id="roles" class="headerLink">
    <a href="#roles" class="header-mark"></a>Roles</h2><ul>
<li><strong>Client</strong>: Any machine where you can <code>ssh</code> to enable Port Forwarding</li>
<li><strong>SSH Server</strong>: A machine that can be SSHed into by <strong>Client</strong></li>
<li><strong>Target Server</strong>: A machine to which you want to establish a connection, usually to open services on this machine to the outside world.</li>
</ul>
<p><strong>Notice</strong>: both <strong>Client</strong> and <strong>SSH Server</strong> can be <strong>Target Server</strong>, it doesn&rsquo;t really need three machines to perform Port Forwarding! However, Dynamic Port Forwarding will not be only one Target Server, but it can be dynamically determined.</p>]]></description></item></channel></rss>