Operating System - Linux
1834816 Members
2558 Online
110070 Solutions
New Discussion

Re: Port Redirection on HP-UX

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

Port Redirection on HP-UX

Hello,

application/db admins require a tentative NATting .
On a Linux system I would have known how to rig up some rule to achieve this thanks to Iptables.

On HP-UX I am a bit lost in this respect
but assume that this can likewise be done with some Ipfilter rule(set).
Herein, in Chpt. 6, this seems to be addressed:
http://docs.hp.com/en/B9901-90042/B9901-90042.pdf

I understand that ipfilter can be used without any extra license fee but that its installation requires at least one reboot (probably because it requires some kernel patching).

Besides ipfilter are there other (free) filters, proxies, packet manglers etc. that would work on HP-UX but maybe don't require installation of a new kernel?

I guess there ought to be quite a few open source proxies that are simply started as daemon available out there, but I'm not sure whether they would also work under HP-UX?

Regards
Ralph
Madness, thy name is system administration
2 REPLIES 2
Matti_Kurkela
Honored Contributor
Solution

Re: Port Redirection on HP-UX

Just run a Google search for "simple TCP proxy".

For example:
http://www.cs.uit.no/~daniels/PacketProxy/index.html

I guess it might require some minimal porting work to compile on HP-UX, but I don't think there will be any major problems.

If a protocol uses TCP and can be NATted with iptables, without using any protocol-specific NAT modules, it should have a good chance of working with a simple proxy like that.

I'd assume writing a simple proxy like this might even be one of the typical exercises on any "Unix network programming" course.

MK
MK
Ralph Grothe
Honored Contributor

Re: Port Redirection on HP-UX

Hi Matti,

thanks for the PocketProxy hint.
I think this will be the least involved setting up the interim port redirection.
Madness, thy name is system administration