<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Remote port forwarding]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am trying to establish access to pfSense GUI via a remote public server (both my desktop and pfSense firewall are in NAT without public IP).</p>
<p dir="auto">I am able to establish a remote port forwarding from the firewall to the public server and local port forwarding from my desktop to the public server. When setting it up via SSH client, it is working as expected.</p>
<p dir="auto">The problem is if I run the "ssh -R" command from GUI/Command Prompt or Cron. The output is the same as in the terminal and it looks like the SSH tunnel is established, but it is not.</p>
<p dir="auto">Do you have any idea, what's wrong?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netgate.com/topic/160213/remote-port-forwarding</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 08:19:23 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/160213.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jan 2021 15:35:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Remote port forwarding on Wed, 27 Jan 2021 08:54:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/samto">@<bdi>samto</bdi></a> I found a root cause of the problem. It is well described here: https://www.everythingcli.org/ssh-tunnelling-for-fun-and-profit-tunnel-options/</p>
<p dir="auto">So, the combination <code>ssh -f -T -N -R</code> works fine</p>
]]></description><link>https://forum.netgate.com/post/959746</link><guid isPermaLink="true">https://forum.netgate.com/post/959746</guid><dc:creator><![CDATA[samto]]></dc:creator><pubDate>Wed, 27 Jan 2021 08:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to Remote port forwarding on Tue, 26 Jan 2021 15:28:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/samto">@<bdi>samto</bdi></a> <strong>Update</strong>: The remote server auth.log is :</p>
<pre><code>Jan 26 08:50:00 sshd[9696]: Accepted publickey for XXXX from XXX.XXX.XXX.XXX port XXXXX ssh2: RSA SHA256: xxxxxxxxx
Jan 26 08:50:00 sshd[9696]: pam_unix(sshd:session): session opened for user XXXX by (uid=0)
Jan 26 08:50:00 systemd: pam_unix(systemd-user:session): session opened for user XXXX by (uid=0)
Jan 26 08:50:01 systemd-logind[458]: New session 107 of user XXXX.
Jan 26 08:50:01 sshd[9794]: Received disconnect from XXX.XXX.XXX.XXX port XXXXX:11: disconnected by user
Jan 26 08:50:01 sshd[9794]: Disconnected from user XXXX XXX.XXX.XXX.XXX port XXXXX
Jan 26 08:50:01 sshd[9696]: pam_unix(sshd:session): session closed for user XXXX
Jan 26 08:50:01 systemd-logind[458]: Session 107 logged out. Waiting for processes to exit.
Jan 26 08:50:01 systemd-logind[458]: Removed session 107.
</code></pre>
<p dir="auto">So it seems that the connection was successfully set up, but right after that it was disconnected.</p>
<p dir="auto">Do you have any idea, how to keep it running?</p>
]]></description><link>https://forum.netgate.com/post/959494</link><guid isPermaLink="true">https://forum.netgate.com/post/959494</guid><dc:creator><![CDATA[samto]]></dc:creator><pubDate>Tue, 26 Jan 2021 15:28:26 GMT</pubDate></item></channel></rss>