cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
397
Views
0
Helpful
1
Replies

redirecting to a differnet port

sandonen
Level 1
Level 1

I have a webserver to receives traffic on port 4080. The firewall is configured for this only. I want to redirect traffic to say port 8080. Is there a way to do this on the CSS? I've looked at SSL redirect examples and this requires that I open this port on the firewall, which something I don't want to do. So can I have the CSS redirect to a different port and not require the firewall to be adjusted for it.

Thanks

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

The css can use and redirect to any port you want.

If I understand correctly, your firewall only allows port 4080 and you would like to add a server on port 8080.

You can keep your vip listening on port 4080 and simply configure your service to nat the traffic to port 8080.

You can do this with the following config :

service Myweb

ip address x.x.x.x

port 8080

active

You can then use this service in the following rule

content Myweb

vip address x.x.x.x

add service Myweb.

proto tcp

port 4080

active

Regards,

Gilles.

Review Cisco Networking for a $25 gift card