- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: port forwarding problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 07:04 AM
10-07-2002 07:04 AM
port forwarding problem
on a HP-UX 11.0 machine, I have an application
using port "A", let's say port number 2000.
I'd like to forward this port to another
port on the same computer, e.g. port number 3000.
It can be done with ssh, e.g.
ssh -f -L 3000:localhost:2000 localhost tail -f /dev/null
But is it possible to achieve this
without using ssh?
Does it matter if port number "A" is
less than 1024 ?
Regards,
Klaus Claassen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 12:28 PM
10-07-2002 12:28 PM
Re: port forwarding problem
You might experiment using inetd and telnet.
In /etc/services:
portfwd 2000/tcp
In /etc/inetd.conf:
portfwd stream nowait nobody /usr/bin/telnet portwd -8 localhost 3000
If it fails, then it won't run as nobody. Try again another non-root, non-system account.
I wouldn't recommend this, but it should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 09:13 PM
10-07-2002 09:13 PM
Re: port forwarding problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 09:45 PM
10-07-2002 09:45 PM
Re: port forwarding problem
It is not possible using normal inetd . I would
suggest you to use rinetd .
You can read about it and download from this link
http://www.boutell.com/rinetd/
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 09:47 PM
10-07-2002 09:47 PM
Re: port forwarding problem
You can't get the source of rinetd compiled , you can get pynetd (python script) for this
purpose.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 12:29 AM
10-08-2002 12:29 AM
Re: port forwarding problem
I've never used it but have heard good things about it.
Good luck,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 11:08 PM
12-14-2004 11:08 PM
Re: port forwarding problem
This is actually a reply to your question about using adb to find the amount of physical memory on Itanium systems. I couldn't reply to that thread (http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=762540) as it is already closed. The adb command did not work as the variable is 8 bytes long and the D format prints only 4 bytes.
In this case it is better to use adb without the -o option. The following command will give you the output you want:
echo phys_mem_pages/jd|adb /stand/vmunix /dev/kmem
Regards,
Lal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 11:20 PM
12-14-2004 11:20 PM
Re: port forwarding problem
I reopened the "memory question" thread,
please re-post your answer there,
it will certainly be helpful for other
readers, too. (I'll award the points there)
Thanks,
Klaus