Community discussions

MikroTik App
 
ehsan7715
just joined
Topic Author
Posts: 7
Joined: Wed Feb 19, 2014 12:11 pm

NAT Before Route

Sun Feb 28, 2016 2:26 pm

hello
can you help me in this scenario
is there anyway to change order of nat before mangle operation
it means that i want to select output interface by mangles by destination IP after NAT Operation

thanks
 
User avatar
ShayanFiroozi
Member Candidate
Member Candidate
Posts: 281
Joined: Sat Jun 01, 2013 12:44 pm
Location: Bandar Abbas , Iran

Re: NAT Before Route

Sun Feb 28, 2016 5:34 pm

Hi ehsan , use packet marking , to my knowledge in mikrotik mangle is performed first ,
but what's the logic behind this ?! interface will be automatically selected by router depends on your interfaces IP address , guys correct me if i'm wrong ,
thanks
 
ehsan7715
just joined
Topic Author
Posts: 7
Joined: Wed Feb 19, 2014 12:11 pm

Re: NAT Before Route

Mon Feb 29, 2016 7:05 am

Hi ehsan , use packet marking , to my knowledge in mikrotik mangle is performed first ,
but what's the logic behind this ?! interface will be automatically selected by router depends on your interfaces IP address , guys correct me if i'm wrong ,
thanks
thanks for reply

i use mangles for load balancing over two interface of my router and now i am using 2 old router one for NAT and other one for policy routing and load balancing .
i need to deploy this configuration on my core CCR router
 
User avatar
ShayanFiroozi
Member Candidate
Member Candidate
Posts: 281
Joined: Sat Jun 01, 2013 12:44 pm
Location: Bandar Abbas , Iran

Re: NAT Before Route

Mon Feb 29, 2016 11:51 am

it's gonna be a complex configuration !!! could you send a diagram ? of course there is a tricky way ;)

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], neitro and 109 guests