[Mikrotik] Masquerade Question

Scott Reed sreed at nwwnet.net
Thu Sep 16 07:59:53 CDT 2010


  Tried basically that.  Problem is the masquerade takes the management 
address, not the public.  I am guessing masquerade uses the lowest 
address on the interface.

On 9/16/2010 8:44 AM, Martín @ Ibersystems wrote:
> The masquerade rule
>    is like:
>
> out-interface=etherX action masquerade or src-address=internalnetwork action
> masquerade
> you could try out-interface=etherX dst-address=!yourNOC internal addresses
> action masquerade
>
>
>
>
>
> Martín Ruiz
>
> Ibersystems Solutions, SL
>
> Dpto. Redes Inalámbricas
>
> Tel. 902 430 367
>
> 669 37 95 21
>
> Fax 93 758 63 01
>
> http://www.ibersystems.es [http://www.ibersystems.es/]
>
> martinruiz at ibersystems.es [mailto:martinruiz at ibersystems.es]
>
> Estemensaje puede contener información confidencial y/o privilegiada.
> Siusted no es el destinatario o una persona expresamente autorizada
> pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o
> engeneral disponer de ninguna forma de la información incluida. Sihubiera
> recibido este mensaje por error, sírvase informar al emisormediante una
> respuesta inmediata y bórrelo, por favor. Muchas gracias.
>
> PAntes de imprimir este e-mail, piensa en si es realmente necesario: El
> Medio Ambiente es responsabilidad de todos
>
>
>
>
> -----Original Message-----
>
> From: Scott Reed<sreed at nwwnet.net>
>
> To: Mikrotik discussions<mikrotik at mail.butchevans.com>
>
> Date: Thu, 16 Sep 2010 08:22:19 -0400
>
> Subject: [Mikrotik] Masquerade Question
>
>
>
>
> I have a router that I need to have masquerade traffic destined for
>
> the Internet.  The challenge is that the interface to the Internet is
>
> also the interface to the NOC.  The interface has a management address
>
> on it of 10.0.1.11.  It also has a public address on it.  If I just turn
>
> on masquerading, it works, but masquerades as the management address.
>
> Is there any way to get masquerade to use the desired address?  If not,
>
> what solution do I have to keep both addresses on the interface?
>
>
>

-- 
Scott Reed
Owner
NewWays Networking, LLC
Wireless Networking
Network Design, Installation and Administration
Mikrotik Advanced Certified
www.nwwnet.net
(765) 855-1060




More information about the Mikrotik mailing list