10-02-2019 10:09 AM - edited 02-21-2020 09:33 AM
Hi,
Is it possible to apply PBR on the dmz interface(on ASA 9.8(3)) and use it to re-route traffic directed to the inside interface but change the destination IP address in the process. Basically we need to temporary change the destination(redirect) from 10.10.0.11 to 10.10.0.22.
Will Something like this work :
access-list PBR_ACL extended permit tcp host 192.168.33.22 10.10.0.22 eq https
route-map PBR_MAP permit 10
match ip address PBR_MAP
set ip next-hoop 10.10.0.22
or set ip next-hop recursive 10.10.0.22 ????
set interface inside
interface Ethernet0/8
policy-route route-map PBR_MAP
Solved! Go to Solution.
10-02-2019 01:21 PM
Redirection (changing the way that we forward a packet) is certainly possible using PBR. But changing the destination address is not just redirection and would require more of something like a proxy. I do not know of a way to do that on ASA.
HTH
Rick
10-02-2019 12:10 PM
While PBR is supported on current versions of code on ASA it will not do what you want it to do. PBR can change the next hop. But it can not change the destination address.
HTH
Rick
10-02-2019 12:40 PM
Thank you,
Is there something else that can be used on the ASA to accomplish this traffic redirection based on source and destination IPs ?
10-02-2019 01:21 PM
Redirection (changing the way that we forward a packet) is certainly possible using PBR. But changing the destination address is not just redirection and would require more of something like a proxy. I do not know of a way to do that on ASA.
HTH
Rick
10-02-2019 02:47 PM
I am glad that my responses have been helpful. Thank you for marking this question as solved. This will help other participants in the community to identify discussions which have helpful information. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.
HTH
Rick
10-03-2019 05:41 AM
10-07-2019 05:38 PM
ok, let see:
we have a DMZ web server that needs to talk to an inside server over port 80 but if he talks over port 443 we need to redirect the traffic to a second inside server. The redirection cannot be done on the dmz server.
10-09-2019 01:58 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide