Community discussions

MikroTik App
 
brosky
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Fri Mar 27, 2009 3:43 pm
Contact:

duplicate UDP stream or multiple dst-nat ip's

Sun Oct 30, 2011 10:34 am

Hi.

I receive a UDP stream on port 1235
 3   ;;; TV Bistrita
     chain=dstnat action=dst-nat to-addresses=192.168.22.2 to-ports=1235 
     protocol=udp dst-address=192.168.1.99 dst-port=1235 
I want to "duplicate" that stream to another computer...
 2 X ;;; TV Bistrita #2
     chain=dstnat action=dst-nat to-addresses=10.0.13.214 to-ports=1235 
     protocol=udp dst-address=192.168.1.99 dst-port=1235 

 3   ;;; TV Bistrita
     chain=dstnat action=dst-nat to-addresses=192.168.22.2 to-ports=1235 
     protocol=udp dst-address=192.168.1.99 dst-port=1235 
However, only the first specified IP receives the stream.
How can i send the source stream to a list or to more than one dst ip ?


Thank you.
 
User avatar
sadeghrafie
Long time Member
Long time Member
Posts: 514
Joined: Sat Nov 14, 2009 11:28 am
Location: Bushehr, IRAN

Re: duplicate UDP stream or multiple dst-nat ip's

Sun Oct 30, 2011 1:08 pm

Hi,
It might be done
to-addresses
It says to addresses not address. So you can add another IP but How....?

MT wiki http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT
have an example
/ip firewall nat add chain=dstnat dst-address=11.11.11.1-11.11.11.254 \
	action=netmap to-addresses=2.2.2.1-2.2.2.254
/ip firewall nat add chain=srcnat src-address=2.2.2.1-2.2.2.254 \
	action=netmap to-addresses=11.11.11.1-11.11.11.254  
but it use the IP range

Who is online

Users browsing this forum: Amazon [Bot], GoogleOther [Bot], svh79 and 113 guests