02-23-2018 05:39 AM - edited 02-21-2020 07:24 AM
ASA5505, ASDM 7.5(2)153, ASA 9.1(7)
I have tried multiple times, but I simply can't figure out how I can get it to work properly.
Situation is as follows: One Public IP on the Outside and multiple clients and servers on the inside on a single subnet.
We need to forward (App-srv, ip 192.168.0.5) ports tcp/5222-5223 and ports tcp-udp/1194
and
(Web-srv, ip 192.168.0.6) ports tcp/80 and tcp/443
I've mainly used ASDM since I'm completely fresh on using Cisco.
At the moment I've got it partly working (but I know I won't be able to get full function, untill I redo everything). I've made a network object host to the App-srv and then I've used "Add automatic adress translation rules" "Static, translated addr: outside"and also advanced setting of "Translate DNS replies for rule" so we could get access to the server using name.
I would prefer ASDM, but I assume I need to use Cli instead?
Please help me get this sorted out.
02-23-2018 05:54 AM
you can do an object nat for example:
and the only allow the ports you want to open up through an access list on your outside interface.
i would start with ASDM as its a bit more intuitive than CLI, buut not everyone would agree with me on that one
if y
object network inside-subnet
subnet 192.168.0.0 255.255.255.0
nat (inside,outside) dynamic interface
!
object network dmz-subnet
subnet 192.168.1.0 255.255.255.0
nat (dmz,outside) dynamic interface
02-23-2018 06:05 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