<?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: Don't get SSH VPN Tunneling to work in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440193#M357150</link>
    <description>You guys are using the OpenSSH build, rather than the HP-UX Secure Shell build.&lt;BR /&gt;&lt;BR /&gt;Try uninstalling OpenSSH and installing the T1471AA package - I'm using version A.05.20.013, and A.05.30 is available now.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=T1471AA" target="_blank"&gt;https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My ssh command doesn't complain about the -w option, though I have Tunnels turned off in the config for security so I can't say for sure if it would actually work if it were enabled.&lt;BR /&gt;&lt;BR /&gt;It may be that whoever built the OpenSSH you're using didn't link it with or enable the tun() pieces.</description>
    <pubDate>Tue, 22 Dec 2009 13:26:16 GMT</pubDate>
    <dc:creator>mvpel</dc:creator>
    <dc:date>2009-12-22T13:26:16Z</dc:date>
    <item>
      <title>Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440191#M357148</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;as of OpenSSH's 4.3 release the relatively new SSH feature of VPN tunneling should work.&lt;BR /&gt;&lt;BR /&gt;So I downloaded and installed HP's latest Secure Shell (OpenSSH port) for B.11.11 and configured to PermitRootLogins as well as PermitTunnel point-to-point for the SSH server on the HP-UX box which should function as the VPN gateway.&lt;BR /&gt;&lt;BR /&gt;However, when I initiate (so far only manually, when things do work this should be done scripted by RSA authentication) a VPN ssh connection from a Linux SSH client (OpenSSH 4.3) I cannot discover the tun devices, neither on SSH server (HP-UX) nor SSH client (Linux).&lt;BR /&gt;&lt;BR /&gt;Maybe I have missed something?&lt;BR /&gt;Has anyone tried the VPN feature with HP's Secure Shell who could give me a hint?&lt;BR /&gt;&lt;BR /&gt;Here's the server side on the HP-UX box:&lt;BR /&gt;&lt;BR /&gt;# uname -srv&lt;BR /&gt;HP-UX B.11.11 U&lt;BR /&gt;&lt;BR /&gt;# swlist|grep -i secure\ shell  &lt;BR /&gt;  T1471AA                       A.05.10.045    HP-UX Secure Shell &lt;BR /&gt; &lt;BR /&gt;# /usr/sbin/sshd -v 2&amp;gt;&amp;amp;1|head -3&lt;BR /&gt;sshd: illegal option -- v&lt;BR /&gt;OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.8j 07 Jan 2009&lt;BR /&gt;HP-UX Secure Shell-A.05.10.045, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/sshd -T|grep -e permitroot -e permittunnel&lt;BR /&gt;permitrootlogin yes&lt;BR /&gt;permittunnel point-to-point&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IP forwarding on the SSH server should also be enabled.&lt;BR /&gt;&lt;BR /&gt;# ndd -h ip_forwarding        &lt;BR /&gt;&lt;BR /&gt;ip_forwarding:&lt;BR /&gt;&lt;BR /&gt;    Controls how IP hosts forward packets: Set to 0 to inhibit&lt;BR /&gt;    forwarding; set to 1 to always forward; set to 2 to forward&lt;BR /&gt;    only if the number of logical interfaces on the system is 2&lt;BR /&gt;    or more. [0,2] Default: 2&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;# ndd -get /dev/ip ip_forwarding&lt;BR /&gt;2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the Linux SSH client I issued the following:&lt;BR /&gt;&lt;BR /&gt;# uname -sriv&lt;BR /&gt;Linux 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i386&lt;BR /&gt;&lt;BR /&gt;# rpm -q openssh&lt;BR /&gt;openssh-4.3p2-16.el5&lt;BR /&gt;&lt;BR /&gt;# ssh -S /var/run/my_%h_tun.sock -fMN -w 0:0 newa&lt;BR /&gt;root@newa's password: &lt;BR /&gt;&lt;BR /&gt;# ssh -S /var/run/my_newa_tun.sock -O check newa&lt;BR /&gt;Master running (pid=16268)&lt;BR /&gt;&lt;BR /&gt;# ps -fp 16268&lt;BR /&gt;UID        PID  PPID  C STIME TTY          TIME CMD&lt;BR /&gt;root     16268     1  0 09:55 ?        00:00:00 ssh -S /var/run/my_%h_tun.sock -fMN -w 0:0 newa&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now, according to the documentation I read, there should be tun devices be visible and configurable as endpoints for the VPN tunnel on both SSH client and server.&lt;BR /&gt;&lt;BR /&gt;But these don't appear, so that I cannot continue to setup the tunnel.&lt;BR /&gt;&lt;BR /&gt;What went wrong?&lt;BR /&gt;&lt;BR /&gt;No tun device on the Linux SSH client:&lt;BR /&gt;&lt;BR /&gt;# ifconfig -a|grep -c tun&lt;BR /&gt;0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;None either on the HP-UX SSH server:&lt;BR /&gt;&lt;BR /&gt;# ifconfig tun0          &lt;BR /&gt;ifconfig: no such interface&lt;BR /&gt; &lt;BR /&gt;# netstat -in|grep -c tun&lt;BR /&gt;0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jun 2009 07:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440191#M357148</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2009-06-16T07:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440192#M357149</link>
      <description>similar problem here&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OpenSSH_5.3p1, OpenSSL 0.9.8k 25 Mar 2009&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX epstvm01 B.11.23 U ia64&lt;BR /&gt;&lt;BR /&gt;# ssh -w5:5 0&lt;BR /&gt;&lt;BR /&gt;Tunnel interfaces are not supported on this platform&lt;BR /&gt;&lt;BR /&gt;!!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2009 09:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440192#M357149</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2009-12-22T09:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440193#M357150</link>
      <description>You guys are using the OpenSSH build, rather than the HP-UX Secure Shell build.&lt;BR /&gt;&lt;BR /&gt;Try uninstalling OpenSSH and installing the T1471AA package - I'm using version A.05.20.013, and A.05.30 is available now.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=T1471AA" target="_blank"&gt;https://h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My ssh command doesn't complain about the -w option, though I have Tunnels turned off in the config for security so I can't say for sure if it would actually work if it were enabled.&lt;BR /&gt;&lt;BR /&gt;It may be that whoever built the OpenSSH you're using didn't link it with or enable the tun() pieces.</description>
      <pubDate>Tue, 22 Dec 2009 13:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440193#M357150</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2009-12-22T13:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440194#M357151</link>
      <description>I tried also with&lt;BR /&gt;&lt;BR /&gt;OpenSSH_5.3p1+sftpfilecontrol-v1.3-hpn13v5, OpenSSL 0.9.8l 5 Nov 2009&lt;BR /&gt;HP-UX Secure Shell-A.05.30.008, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;but same answer:&lt;BR /&gt;&lt;BR /&gt;# ssh -w5:5 0&lt;BR /&gt;Tunnel interfaces are not supported on this platform&lt;BR /&gt;Tunnel device open failed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2009 13:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440194#M357151</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2009-12-22T13:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440195#M357152</link>
      <description>forget it,&lt;BR /&gt;tun driver on HPUX is restricted to ppp use only&lt;BR /&gt;so ssh will not be able to use tun to open vpn,&lt;BR /&gt;the only available vpn on hpux are with ipsec.</description>
      <pubDate>Tue, 22 Dec 2009 13:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440195#M357152</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-12-22T13:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440196#M357153</link>
      <description>Nevermind - I misread the post.</description>
      <pubDate>Tue, 22 Dec 2009 13:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440196#M357153</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2009-12-22T13:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440197#M357154</link>
      <description>Thank you very much Laurent&lt;BR /&gt;I can't assign you points, cause is not my question, so I'll open one about vpn&lt;BR /&gt;&lt;BR /&gt;Pablo</description>
      <pubDate>Tue, 22 Dec 2009 13:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440197#M357154</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2009-12-22T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Don't get SSH VPN Tunneling to work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440198#M357155</link>
      <description>&amp;gt;Pablo: so I'll open one about VPN&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1395618" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1395618&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Dec 2009 14:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/don-t-get-ssh-vpn-tunneling-to-work/m-p/4440198#M357155</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-22T14:41:19Z</dc:date>
    </item>
  </channel>
</rss>

