VMware Cloud Community
goodluva
Enthusiast
Enthusiast

can the hyperic server listen on two ports simultaniously

can the hyperic server listen on two ports simultaneously

we have a requirement to run our agents from two different subnets using two different connection ports 7080 and 80


is this possible?

Many Thanx in advance
Reply
0 Kudos
3 Replies
excowboy
Virtuoso
Virtuoso

Hi Paul,

my first idea is to use a HTTP proxy, maybe you can give it a try ?

Cheers
Mirko
Reply
0 Kudos
BradFelmey
Hot Shot
Hot Shot

You don't specify what platform you're running the server on.

If Linux, this is simple as pie. Run the following (as root), and put it into your startup scripts somewhere:

/sbin/iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 7080

This basically mirrors port 7080 to port 80. Connecting to one is exactly the same as connecting to the other.
Reply
0 Kudos
excowboy
Virtuoso
Virtuoso

I'd prefer Brad's solution. 🙂

Mirko

Message was edited by: excowboy
Reply
0 Kudos