<?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>topic Re: SSH Port redirection in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975680#M575490</link>
    <description>Just to clarify Paula's answer, the ssh_config manpage states:&lt;BR /&gt;&lt;BR /&gt;GatewayPorts&lt;BR /&gt;&lt;BR /&gt;Specifies whether remote hosts are allowed to connect to local forwarded ports.  By default, ssh binds local port forwardings to the loopback address.  This prevents other remote hosts from connecting to forwarded ports.  GatewayPorts can be used to&lt;BR /&gt; specify that ssh should bind local port forwardings to the&lt;BR /&gt; wildcard address, thus lowing remote hosts to connect to            forwarded ports.  The argument must be ``yes'' or ``no''.  The default is ``no''.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It seems that the current version os openssh, at least, does not allow you to specify the interface that remote hosts can connect to for port forwarding.&lt;BR /&gt;&lt;BR /&gt;The  -b option only tells openssh what interface to use when connecting to remotehost.&lt;BR /&gt;&lt;BR /&gt;Using a tool like ipfilter, you can control what interface or ip address is allowed to receive inbound traffic on port 80, which ssh will then forward to your remote host.</description>
    <pubDate>Sun, 18 May 2003 04:59:47 GMT</pubDate>
    <dc:creator>Bill Douglass</dc:creator>
    <dc:date>2003-05-18T04:59:47Z</dc:date>
    <item>
      <title>SSH Port redirection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975678#M575488</link>
      <description>I'm currently using ssh to forward http over a secure channel. However, ssh seems to listen on all interfaces when using the command below.&lt;BR /&gt;&lt;BR /&gt;ssh -b Local_IP -N -L 80:remote_server:80 -f -g&lt;BR /&gt;&lt;BR /&gt;The problem is I run several interfaces on the server and only wish for SSH to listen on a single interface. I've also tried remote forwarding but could only get ssh to listen on the local loopback.&lt;BR /&gt;&lt;BR /&gt;HP-UX Secure Shell 3.1&lt;BR /&gt;HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Gary</description>
      <pubDate>Sat, 17 May 2003 11:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975678#M575488</guid>
      <dc:creator>Gary Price</dc:creator>
      <dc:date>2003-05-17T11:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port redirection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975679#M575489</link>
      <description>Gary&lt;BR /&gt;&lt;BR /&gt;This might help:-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x44a03a1c04ffd61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x44a03a1c04ffd61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Sat, 17 May 2003 12:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975679#M575489</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-05-17T12:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Port redirection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975680#M575490</link>
      <description>Just to clarify Paula's answer, the ssh_config manpage states:&lt;BR /&gt;&lt;BR /&gt;GatewayPorts&lt;BR /&gt;&lt;BR /&gt;Specifies whether remote hosts are allowed to connect to local forwarded ports.  By default, ssh binds local port forwardings to the loopback address.  This prevents other remote hosts from connecting to forwarded ports.  GatewayPorts can be used to&lt;BR /&gt; specify that ssh should bind local port forwardings to the&lt;BR /&gt; wildcard address, thus lowing remote hosts to connect to            forwarded ports.  The argument must be ``yes'' or ``no''.  The default is ``no''.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It seems that the current version os openssh, at least, does not allow you to specify the interface that remote hosts can connect to for port forwarding.&lt;BR /&gt;&lt;BR /&gt;The  -b option only tells openssh what interface to use when connecting to remotehost.&lt;BR /&gt;&lt;BR /&gt;Using a tool like ipfilter, you can control what interface or ip address is allowed to receive inbound traffic on port 80, which ssh will then forward to your remote host.</description>
      <pubDate>Sun, 18 May 2003 04:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-port-redirection/m-p/2975680#M575490</guid>
      <dc:creator>Bill Douglass</dc:creator>
      <dc:date>2003-05-18T04:59:47Z</dc:date>
    </item>
  </channel>
</rss>

