ā08-21-2013 08:33 PM - edited ā03-11-2019 07:29 PM
Dear All,
I would like to ask you that currently i have two public ip add
and i would like to use port forwoarding. as below i use one public ip add
and other one i don't know how to configure.
Public ip add 203.10.1.1
----
access-list outside_acl_in extended permit tcp any host 192.168.1.2 eq www
object network www-10
nat (inside,outside) static interface service tcp www www
so i would like to add other public 203.10.1.2 to 192.168.1.3 port www
Best Regards,
rechard
ā08-21-2013 08:46 PM
Hello Rechard,
Same thing, just use the IP address instead of the "interface" keyword.
static (inside,outside) tcp 203.10.1.2 80 192.168.1.3 80
access-list outside_acl permit tcp any host 203.10.1.2 eq 80
Check my blog at http:laguiadelnetworking.com for further information.
Cheers,
Julio Carvajal Segura
ā08-21-2013 09:48 PM
Dear Juilo,
Is it working on ASA 5512 V.9.1.1?
Currently i'm using
object network www-10
host 192.168.1.2
access-list outside_acl_in extended permit tcp any host 192.168.1.2 eq www
object network www-10
nat (inside,outside) static interface service tcp www www
Best Regards,
Rechard
ā08-21-2013 10:39 PM
Hey Rechard
Do this
object network www-10
host 192.168.1.3
nat (inside,outside) static 203.10.1.2 service tcp www www
Thanks
Vishaw
ā08-21-2013 11:20 PM
Hello,
You showed us the configuration on version 8.2 or lower but wanted on 8.3 or higher... lol.
OK, that being said
object network Inside_Server_2
host 192.168.1.3
Object network Outside_Server_2
host 203.10.1.2
nat (inside,outside) 1 source static Inside_Server_2 Outside_Server_2
access-list outside_acl_in permit tcp any host 192.168.1.3 eq 80
Remember to rate all of the answers
Check my blog at http:laguiadelnetworking.com and subscribe so you can get daily information about networking.
Cheers,
Julio Carvajal Segura
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