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

Port forwarding / DNAT

Gian Paolo
Level 1
Level 1

Hello,

I've a Cisco ASA5510. I need to redirect the traffic originating from some IP addresses from inside interface destination port 80 to a proxy server, located in the inside interface, port 8080.

For people who works with linux/iptables, I need something like: iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth1 -j DNAT --to x.y.x.k:8080

Thanks.

1 Reply 1

acomiskey
Level 10
Level 10

Sounds like hairpinning. Something like this maybe?

same-security-traffic permit intra-interface

static (inside,inside) tcp desination.ip 80 x.y.x.k 8080 netmask 255.255.255.255

global (inside) 1 interface

nat (inside) 1 0 0

Review Cisco Networking for a $25 gift card