Your action should equal your chain.

Mark

-----Original Message-----
From: mikrotik-boun...@mail.butchevans.com
[mailto:mikrotik-boun...@mail.butchevans.com] On Behalf Of rwf
Sent: Monday, November 30, 2009 11:57 PM
To: mikrotik@mail.butchevans.com
Subject: [Mikrotik] Question about 1:1 NAT and netmap

I have 2 static public addresses. One is being used for a hotspot. The
internal address range for the hotspot is 10.50.50.0/24

I need to route the second public address  204.16.x.y to an internal one
for
a webcam (10.5.50.246) on the hotspot subnet.

 

I have entered the following commands, but I am not having success.

.         Is netmap the proper action?

.         Will this work, since the inside address is within the hotspot
range? (it is not in the DHCP range if that matters)

.         Anyone have any better suggestions?

 

/ip firewall nat add chain=dstnat dst-address=204.16.x.y action=netmap
to-addresses=10.5.50.240

/ip firewall nat add chain=srcnat src-address=10.5.50.240 action=netmap
to-addresses=204.16.x.y

 

 

Thanks

 

Ralph

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.butchevans.com/pipermail/mikrotik/attachments/20091201/4a151
e97/attachment.html>
_______________________________________________
Mikrotik mailing list
Mikrotik@mail.butchevans.com
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik
RouterOS

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.709 / Virus Database: 270.14.72/2511 - Release Date:
11/30/09 01:31:00
_______________________________________________
Mikrotik mailing list
Mikrotik@mail.butchevans.com
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to