<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>This topic</title>
    <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238363#M27558</link>
    <description>&lt;P&gt;I'm trying to setup port forwarding to allow sftp to a storage server.&amp;nbsp; This has worked fine with a previous router, and is working fine on the LAN, but I cannot make it work from the external IP address.&lt;/P&gt;&lt;P&gt;Even if the firewall is disabled the port is blocked.&lt;/P&gt;&lt;P&gt;The storage RAID unit is assigned a fixed IP address and I can access this just fine on my internal network, using either sftp or ssh.&lt;/P&gt;&lt;P&gt;As a test, I've used Termius on Android phone with the wifi disabled so that it goes via the phone network to my external IP address.&amp;nbsp; The log file for this shows:&lt;/P&gt;&lt;P&gt;starting new connection&lt;BR /&gt;starting address resolution&lt;BR /&gt;address resolution finished&lt;BR /&gt;connecting to port&amp;nbsp;&lt;BR /&gt;connection established&lt;BR /&gt;starting SSH session&lt;BR /&gt;connection closed with error: connection reset by peer&lt;/P&gt;&lt;P&gt;this suggests the connection was made, but the storage box disconnected the session.&amp;nbsp; But this doesn't make sense compared to using a LAN connection and it works.&amp;nbsp; Is the smart hub doing something to disconnect the session?&lt;/P&gt;&lt;P&gt;The event log of the router doesn't contain anything relevant.&lt;/P&gt;&lt;P&gt;Anything else I can do to investigate further?&lt;/P&gt;</description>
    <pubDate>Sun, 26 Jun 2022 11:23:55 GMT</pubDate>
    <dc:creator>jmcd-tf1</dc:creator>
    <dc:date>2022-06-26T11:23:55Z</dc:date>
    <item>
      <title>Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238363#M27558</link>
      <description>&lt;P&gt;I'm trying to setup port forwarding to allow sftp to a storage server.&amp;nbsp; This has worked fine with a previous router, and is working fine on the LAN, but I cannot make it work from the external IP address.&lt;/P&gt;&lt;P&gt;Even if the firewall is disabled the port is blocked.&lt;/P&gt;&lt;P&gt;The storage RAID unit is assigned a fixed IP address and I can access this just fine on my internal network, using either sftp or ssh.&lt;/P&gt;&lt;P&gt;As a test, I've used Termius on Android phone with the wifi disabled so that it goes via the phone network to my external IP address.&amp;nbsp; The log file for this shows:&lt;/P&gt;&lt;P&gt;starting new connection&lt;BR /&gt;starting address resolution&lt;BR /&gt;address resolution finished&lt;BR /&gt;connecting to port&amp;nbsp;&lt;BR /&gt;connection established&lt;BR /&gt;starting SSH session&lt;BR /&gt;connection closed with error: connection reset by peer&lt;/P&gt;&lt;P&gt;this suggests the connection was made, but the storage box disconnected the session.&amp;nbsp; But this doesn't make sense compared to using a LAN connection and it works.&amp;nbsp; Is the smart hub doing something to disconnect the session?&lt;/P&gt;&lt;P&gt;The event log of the router doesn't contain anything relevant.&lt;/P&gt;&lt;P&gt;Anything else I can do to investigate further?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 11:23:55 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238363#M27558</guid>
      <dc:creator>jmcd-tf1</dc:creator>
      <dc:date>2022-06-26T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238371#M27559</link>
      <description>&lt;P&gt;Make sure UPnP is disabled on the hub as it may be causing a conflict. Are you sure the application is actively listening on the relevant port, the port won't open unless it is. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 11:59:53 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238371#M27559</guid>
      <dc:creator>licquorice</dc:creator>
      <dc:date>2022-06-26T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238375#M27560</link>
      <description>I'm sure the ssh/sftp application is OK as it works fine via the LAN ip. Only via external IP is it failing.&lt;BR /&gt;I tried disable UPnP but sadly didn't make a difference.</description>
      <pubDate>Sun, 26 Jun 2022 12:16:07 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238375#M27560</guid>
      <dc:creator>jmcd-tf1</dc:creator>
      <dc:date>2022-06-26T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238377#M27561</link>
      <description>&lt;P&gt;Yes, but on the LAN it doesn't have to open a port&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 12:31:04 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238377#M27561</guid>
      <dc:creator>licquorice</dc:creator>
      <dc:date>2022-06-26T12:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238378#M27562</link>
      <description>sorry, I'm not understanding you.&lt;BR /&gt;the unit is listening on port 22 on the LAN.&lt;BR /&gt;the router should be forwarding the external port to the device on port 22, but this is failing. even if I disable the firewall it still fails.</description>
      <pubDate>Sun, 26 Jun 2022 12:46:48 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238378#M27562</guid>
      <dc:creator>jmcd-tf1</dc:creator>
      <dc:date>2022-06-26T12:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238387#M27563</link>
      <description>&lt;P&gt;Yeah, ignore my last post.&lt;/P&gt;
&lt;P&gt;How are you testing accessing the server, via an externally connected device or via your public IP but connected to the hub's wifi?&amp;nbsp; If the latter, NAT loopback seems to sometimes work other times not, try via 4G.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 13:59:13 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238387#M27563</guid>
      <dc:creator>licquorice</dc:creator>
      <dc:date>2022-06-26T13:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238516#M27568</link>
      <description>&lt;P&gt;I'm using my phone with wifi disabled, i.e. not connected to the router but going via public network back to the router external IP address.&amp;nbsp; I'm also setting up the phone as a hotspot so that my PC can test the router external IP.&amp;nbsp; I'm using both a terminal app on the phone, and filezilla and also ssh on my PC to check the port.&lt;/P&gt;&lt;P&gt;To be clear, I'm aware that accessing the external IP from inside the LAN is a problem. Hencedisconnecting the devices from the LAN when testing the router external IP.&lt;/P&gt;&lt;P&gt;Reading other posts in the forum, it seems a common issue and I can't find it resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 13:08:04 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238516#M27568</guid>
      <dc:creator>jmcd-tf1</dc:creator>
      <dc:date>2022-06-27T13:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding sftp blocked</title>
      <link>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238535#M27571</link>
      <description>&lt;P&gt;I've just set up a test to a Raspberry Pi and can SSH to that just fine using external port 2022 and internal port 22 with my laptop tethered to my phone using 4G.&lt;/P&gt;
&lt;P&gt;Make sure you are saving the rule, you need to click on the + symbol first before saving the rule.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 14:38:27 GMT</pubDate>
      <guid>https://community.bt.com/t5/BT-Devices/Port-Forwarding-sftp-blocked/m-p/2238535#M27571</guid>
      <dc:creator>licquorice</dc:creator>
      <dc:date>2022-06-27T14:38:27Z</dc:date>
    </item>
  </channel>
</rss>

