01-06-2016 11:01 AM - edited 03-12-2019 12:07 AM
hi all,
i am trying to configure the static nat on the cisco asa which is not working.
in 8.2 version this is the code
nat(inside) 2 x.x.x.x netmask 255.255.255.255
global(outside) 2 y.y.y.y
for the above commands i converted to 9.5.2 code which is
object network obj-x.x.x.x
host x.x.x.x
nat(inside,outside) static y.y.y.y
after configuring the above from x.x.x.x server there is no internet connection, but for the same server i confgiured the portforwarding with the same external IP y.y.y.y which is working. when i try to make the outgoing traffic also through the same Ip which is not working. please help me to solve the issue.
01-06-2016 11:10 AM
you need to do dynamic PAT
object network obj-x.x.x.x
host x.x.x.x
nat(inside,outside) dynamic y.y.y.y ====>dynamic instead of static.
01-07-2016 01:41 AM
hi sarabsin,
i have changed the same but still no internet access in that server,
here my config,
object network mail-nat-outside
nat (Internal,External) dynamic Mail-Server
in this mail-server is the y.y.y.y and mail-nat-outside ip is x.x.x.x
for the subnet nat it is working
object network Data-network
nat (Internal,External) dynamic interface
Data-Network -- x.x.x.0/24
here my port forwarding,
object network smtp-server
nat (Internal,External) static Mail-Server service tcp smtp smtp
object network https-mail-server
nat (Internal,External) static Mail-Server service tcp https https
object network imap-server
nat (Internal,External) static Mail-Server service tcp imap4 imap4
i am attaching the config. i have tried above configuration and static as well both are not working. even the port forwarding also not working. initially i mentioned it is working but its not.
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