Community discussions

MikroTik App
 
amegen
just joined
Topic Author
Posts: 1
Joined: Thu Jun 30, 2022 11:03 am

masquerade

Thu Jun 30, 2022 11:15 am

Good morning
Sorry for my bad english
I have this problem.
I must NOT masquerade two outgoing public addresses from my router.
I added this NAT: srcnat !IP1 masquerade
if I add the same rule for the IP2 I run the risk that they will exclude each other.
How can I make sure that only IP1 and IP2 are NOT masquerade and all the others are masquerade?

Thank and again sorry for my english
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: masquerade

Thu Jun 30, 2022 11:24 am

Probably an /ip firewall nat export on terminal is better than novels.

From what you write, is like you without any reason on NAT do masquerade on all IPs, regardless if they are Private IP or not.

Simply repair your already existent rules that masquerade all, putting on the masquerade the condition src-address=192.168.0.0/16 for example

Who is online

Users browsing this forum: loloski and 11 guests