[Mikrotik] nat one ether port

Butch Evans butche at butchevans.com
Thu Jun 26 19:53:33 CDT 2008


On Thu, 26 Jun 2008, Terri Kelley wrote:

>Is it possible to nat one lan side ethernet port but not the rest? 
>For instance, ether1 is wan and 2 - 4 are lan. I would like for 
>traffic on ether2 to be nat'ed but not ether3 or 4.

If ether2=192.168.1.0/24 network, then:
/ip firewall nat
add chain=srcnat src-address=192.168.1.0/24 out-interface=ether1 \
     action=masquerade



-- 
********************************************************************
*Butch Evans			*Professional Network Consultation *
*Network Engineering 		*MikroTik RouterOS 		   *
*573-276-2879			*ImageStream                       *
*http://www.butchevans.com/	*StarOS and MORE                   *
*Mikrotik Certified Consultant 	*Wired or Wireless Networks        *
********************************************************************



More information about the Mikrotik mailing list