About Public Real World IP to Internal IP (Natting Question)

Hi Guys
I am just wondering if anybody can help me on a question I have. Here is my question can you tell me how to setup 1:1 nat from public real world IP address to static internal IP address. I am using RB750.

/ip firewall nat
#for one public ip
add chain=srcnat src-addr=192.168.0.10 action=src-nat to-addr=1.1.1.1
add chain=dstnat dst-addr=1.1.1.1 action=dst-nat to-addr=192.168.0.10
#for a subnet
add chain=srcnat src-addr=192.168.0.100-192.168.0.200 action=netmap to-addr=1.1.1.100-1.1.1.200
add chain=dstnat dst-addr=1.1.1.100-1.1.1.200 action=netmap to-addr=192.168.0.100-192.168.0.200

thanks dog for your help.

I got a other question can I do the same thing for dns like static DNS to the static internal IP address?

No, you can’t do that.
Computers never communicate via DNS names but always via IP.

I guess you want to have separate web-servers on one public IP?
In that case there is a way because of how HTTP/1.1 works.
You need a reverse proxy like pond or Varnish though.