05-10-2012 11:27 PM - edited 03-11-2019 04:05 PM
Hi
Need help
i want to nat one outside IP x.x.x.x port 80 to DMZ host y.y.y.y port 80
then IP x.x.x.x port 443 to DMZ host y.y.y.y port 443
and outside IP x.x.x.x port 8443 to DMZ host z.z.z.z port 8443
outside IP x.x.x.x port 8080 to DMZ host z.z.z.z port 8080
No Idea...
regards
Chris
05-11-2012 04:18 AM
You can very well do it this is called port forwarding .
command will depend on ASA version of software you are using.
05-11-2012 04:45 AM
Sorry foget to say i use version 8.4.2 .
05-11-2012 05:32 AM
Hi Christian,
You need this configuration:
object network obj-x.x.x.x
host x.x.x.x
object network obj-y.y.y.y
host y.y.y.y
object network obj-z.z.z.z
host z.z.z.z
object service tcp_80
service tcp destination eq 80
object service tcp_443
service tcp destination eq 443
object service tcp_8443
service tcp destination eq 8443
object service tcp_8080
service tcp destination eq 8080
nat (outside,inside) source static any any destination static obj-x.x.x.x obj-y.y.y.y service tcp_80 tcp_80
nat (outside,inside) source static any any destination static obj-x.x.x.x obj-y.y.y.y service tcp_443 tcp_443
nat (outside,inside) source static any any destination static obj-x.x.x.x obj-z.z.z.z service tcp_8443 tcp_8443
nat (outside,inside) source static any any destination static obj-x.x.x.x obj-z.z.z.z service tcp_8080 tcp_8080
If the outside Ip is the outside interface IP, then just replace "obj-x.x.x.x" with the keyword "interface" in it.
Hoep that helps.
Thanks,
Varun
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