<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Networking on 300.Watts</title><link>https://300watts.me/tags/networking/</link><description>Recent content in Networking on 300.Watts</description><generator>Hugo</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/index.xml" 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>morristai01@gmail.com (Morris)</author><guid>https://300watts.me/posts/ssh-tunneling-summary/</guid><description>&lt;p&gt;There are three types of SSH port forwarding:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="#local-port-forwarding" rel=""&gt;Local Port Forwarding&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Forwards a connection from the client host to the SSH server host and then to the destination host port.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="#remote-port-forwarding" rel=""&gt;Remote Port Forwarding&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Forwards a port from the server host to the client host and then to the destination host port.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="#dynamic-port-forwarding" rel=""&gt;Dynamic Port Forwarding&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Creates a SOCKS proxy server that allows communication across a range of ports.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="roles" class="headerLink"&gt;
 &lt;a href="#roles" class="header-mark"&gt;&lt;/a&gt;Roles&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Client&lt;/strong&gt;: Any machine where you can &lt;code&gt;ssh&lt;/code&gt; to enable Port Forwarding&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SSH Server&lt;/strong&gt;: A machine that can be SSHed into by &lt;strong&gt;Client&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Target Server&lt;/strong&gt;: A machine to which you want to establish a connection, usually to open services on this machine to the outside world.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Notice&lt;/strong&gt;: both &lt;strong&gt;Client&lt;/strong&gt; and &lt;strong&gt;SSH Server&lt;/strong&gt; can be &lt;strong&gt;Target Server&lt;/strong&gt;, it doesn&amp;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.&lt;/p&gt;</description></item></channel></rss>