cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2061
Views
1
Helpful
4
Replies

ACE port redirection problem

majaj
Level 1
Level 1

I am using standard http port 80 in front end (between the end user and ACE module ) and I am using port 9080 for backend (between the ACE and servers).

I don't want the port number 9080 to show up in the url

http://www.Trading.com:9080/ANTOnline

how can i hide the port 9080 from the end user

4 Replies 4

Gilles Dufour
Cisco Employee
Cisco Employee

If the vip is configured with port 80 and your real with port 9080, ACE should be doing the nating transparently and the client browser going to port 80 should not display port 9080.

Gilles.

actually , i am getting port 9080 in the url

can you check attached configuration please

You are getting the port 9080 because your server is sending a redirect to the browser.

The redirect will contain the port 9080.

You need to block the redirect and create your own from ACE.

So, you need to identify which request triggers the redirect, intercept this request with a class-map and generate your own redirect from ace.

Get a sniffer trace to see the redirect.

Gilles.

celiocarreto
Level 1
Level 1

Try this config:

rserver host Server001

ip address 10.1.1.1

inservice

rserver host Server002

ip address 10.1.1.2

inservice

serverfarm host SF001

probe CHECK.HTML

rserver Server001 9080

inservice

rserver Server002 9080

inservice

class-map match-all R001

2 match virtual-address 1.1.1.1 tcp eq www

policy-map type loadbalance first-match P001

class class-default

serverfarm SV001

policy-map multi-match L4-LB

class R001

loadbalance vip inservice

loadbalance policy P001

loadbalance vip icmp-reply

It should solve your problems