12-12-2019 06:30 AM
Hello, I wanted to know if Cisco ASA support a port forwarding to host who is not directly connected, and the ASA learns this host via static route.
Regards,
Rodrigo Haim
12-12-2019 07:04 AM
Hi,
Yes you can do that. You can create a NAT object and create a rule in your ACL example:-
object nat SRV1
host 10.2.2.5
nat (inside,outside) static 1.1.1.1 service tcp 80 80
access-list OUTSIDE_IN permit tcp any host 10.2.2.5 eq 80
As long as the ASA can route to the real IP address (in this example 10.2.2.5) then the NAT will work.
HTH
12-13-2019 06:31 AM
Hello, thank you for the answer,
So the host 1.1.1.1 is known by static route because is not direct connected?
Do we have to configure nat for the host 1.1.1.1 to have internet access? Or is not necessary?
Regards,
Rodrigo Haim
12-13-2019 07:18 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