Community discussions

 
papaya
just joined
Topic Author
Posts: 1
Joined: Sun Mar 17, 2013 2:26 pm

Traffic redirect

Sun Mar 17, 2013 2:31 pm

Hi all,
sorry fo my english.
I have a problem.
There was a gateway with Linux at address 10.2.1.1 and then in its place takes mikrotik, and the server has the address of 10.2.1.100, but there are many necessary services. How to throw all traffic, except for a few ports, coming in at 10.12.1.0 to 10.2.1.100?
 
nmaton
Frequent Visitor
Frequent Visitor
Posts: 72
Joined: Fri Feb 18, 2011 12:31 am

Re: Traffic redirect

Mon Mar 18, 2013 10:42 pm

I guess you mean that you want some natting towards an internal ip from external.

You should go to ip firewall nat

And add a dst-nat rule.




/ip firewall nat
add chain=dstnat dst-address=10.2.1.100 action=dst-nat to-addresses=10.12.1.x
Nicolas Maton
nicolasmaton@gmail.com

CCNA/ CCDA
MTCNA / MTCTCE

Available for Mikrotik Consulting

Who is online

Users browsing this forum: No registered users and 26 guests