12-12-2016 12:55 AM - edited 03-12-2019 01:39 AM
Dear Team
as per above ASA version how can we able to do port forwarding for my internal server.
Public IP: 111.x.x.x LAN IP: 10.x.x.x port need to be forward is:- 80
network flow like Host (From INternet) --> Outside Interface (ASA) Inside --> LAN Server IP.
12-12-2016 02:01 AM
For that, an easy way is to configure object/auto-NAT:
object network SERVER
host 10.x.x.x
nat (inside,outside) static 111.x.x.x service tcp 80 80
Make sure that there is no other conflicting NAT above this rule.
On the outside interface you need to allow this traffic (if you already have an ACL applied to that interface, use that one):
access-list OUTSIDE-IN permit tcp any object SERVER eq 80
access-group OUTSIDE-IN in interface outside
12-12-2016 09:32 PM
Thanks Karssten
will check and reward you.
Regards,
Darshin
12-12-2016 02:01 AM
Hello Darshin,
This is what you need:
object network obj_10.10.10.20
host 10.10.10.20
nat (inside,outside) static 111.111.111.15 service tcp http http
12-12-2016 02:02 AM
Hi Darshin,
There is already a wealth of information on this question and a great document on the ASA NAT in general (8.3+) -
https://supportforums.cisco.com/document/132066/asa-nat-83-nat-operation-and-configuration-format-cli
And you will mot likely find your answer there and gain a bit more understanding on the NAT process.
Credit to Jouni Forss
12-12-2016 11:04 PM
hi
thanks for sending document for same it seems very useful.
regards,
darshin
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