Community discussions

MikroTik App
iwantlemonjuice
Member Candidate
Member Candidate
Topic Author
Posts: 101
加入: Tue Nov 04, 2008 4:53 am
Location:Boracay Island, Philippines

chupaka need your experties regarding mms streaming :)

Mon Jul 13, 2009 1:07 pm

chupaka i have a question for you like example i have my music streaming server then im gonna access from outside like ex. i type in web address mms://x.x.x.x:1234 then redirect to internal ip y.y.y.y port 1234 , it is possible in mikrotik and how?? help me with your experties chupaka:)

ps: my english is bad

thanks
Top
用户头像
Chupaka
Forum Guru
Forum Guru
Posts: 8689
加入: Mon Jun 19, 2006 11:15 pm
Location:Minsk, Belarus
Contact:

Re: chupaka need your experties regarding mms streaming :)

Mon Jul 13, 2009 3:24 pm

simple dst-NAT =)

MMS uses both TCP and UDP, so you may need two rules:

/ip firewall nat
add action=dst-nat chain=dstnat disabled=no dst-address=x.x.x.x \
dst-port=1234 protocol=tcp to-addresses=y.y.y.y
add action=dst-nat chain=dstnat disabled=no dst-address=x.x.x.x \
dst-port=1234 protocol=udp to-addresses=y.y.y.y

maybe one UDP rule will be enough...
Top
iwantlemonjuice
Member Candidate
Member Candidate
Topic Author
Posts: 101
加入: Tue Nov 04, 2008 4:53 am
Location:Boracay Island, Philippines

Re: chupaka need your experties regarding mms streaming :)

Mon Jul 13, 2009 4:28 pm

thanks for your quick response chupaka im gonna try later

cheers
Top
iwantlemonjuice
Member Candidate
Member Candidate
Topic Author
Posts: 101
加入: Tue Nov 04, 2008 4:53 am
Location:Boracay Island, Philippines

Re: chupaka need your experties regarding mms streaming :)

Tue Jul 14, 2009 11:48 am

chupaka i follow ur guide but still no luck dstnat cannot knock the port mms://x.x.x.x:1234

chain=dstnat action=dst-nat to-addresses=192.168.10.254 to-ports=1234
protocol=tcp dst-address=x.x.x.x dst-port=1234

stream server = tcp 192.168.10.254 port 1234

any idea?

thanks chupaka
Top
用户头像
Chupaka
Forum Guru
Forum Guru
Posts: 8689
加入: Mon Jun 19, 2006 11:15 pm
Location:Minsk, Belarus
Contact:

Re: chupaka need your experties regarding mms streaming :)

Tue Jul 14, 2009 9:39 pm

from what address are you trying to connect to mms:// ?
can you ping that address from 192.168.10.254?
Top
iwantlemonjuice
Member Candidate
Member Candidate
Topic Author
Posts: 101
加入: Tue Nov 04, 2008 4:53 am
Location:Boracay Island, Philippines

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 4:48 am

yup chupaka i can ping the stream server ip 192.168.10.254, stream is works fine and if i use this from outside mms://x.x.x.x:1234 redirect cant knock the port:(my dst-nat >>
[myron@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=dstnat action=dst-nat to-addresses=192.168.10.254 to-ports=1234
protocol=tcp dst-address=x.x.x.x dst-port=1234
Last edited byiwantlemonjuiceon Wed Jul 15, 2009 11:52 am, edited 1 time in total.
Top
用户头像
Chupaka
Forum Guru
Forum Guru
Posts: 8689
加入: Mon Jun 19, 2006 11:15 pm
Location:Minsk, Belarus
Contact:

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 11:26 am

nonono, can you ping your outside client from 192.168.10.254?
Top
x187
刚刚加入了
Posts: 24
加入: Fri May 01, 2009 3:21 pm
Location:127.0.0.1

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 11:44 am

hello!

additional info:

server ip: 192.168.10.254/24
server port: 1234

mikrotik wan ip: x.x.x.x/24
mikrorik lan ip: 192.168.10.10/24

streaming server tested ok using a laptop 192.168.10.35/24, need to redirect port 1234 from wan to lan

thanks!
Top
用户头像
Chupaka
Forum Guru
Forum Guru
Posts: 8689
加入: Mon Jun 19, 2006 11:15 pm
Location:Minsk, Belarus
Contact:

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 12:18 pm

well, I'll try to ask simplier: does 192.168.10.254 have access to Internet via that mikrotik? if no - then it cannot send mms stream to Internet to your outside client
Top
x187
刚刚加入了
Posts: 24
加入: Fri May 01, 2009 3:21 pm
Location:127.0.0.1

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 12:32 pm

its connected to a different router 192.168.10.1/24, i'll try use mikrotik as gateway...
Top
x187
刚刚加入了
Posts: 24
加入: Fri May 01, 2009 3:21 pm
Location:127.0.0.1

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 1:55 pm

its connected to a different router 192.168.10.1/24, i'll try use mikrotik as gateway...
cool! up and running! thanks chupaka:D

btw stream ip8)>>> mms://202.78.124.3:1234
Last edited byx187on Wed Jul 15, 2009 2:00 pm, edited 1 time in total.
Top
iwantlemonjuice
Member Candidate
Member Candidate
Topic Author
Posts: 101
加入: Tue Nov 04, 2008 4:53 am
Location:Boracay Island, Philippines

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 1:56 pm

its working perfect now chupaka ^^ hapi streaming lol

thanks chupaks
Top
iwantlemonjuice
Member Candidate
Member Candidate
Topic Author
Posts: 101
加入: Tue Nov 04, 2008 4:53 am
Location:Boracay Island, Philippines

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 2:03 pm

我们正在测试upstream bandwid streaming now anybody can access mms://202.78.124.3:1234:)
Top
用户头像
Chupaka
Forum Guru
Forum Guru
Posts: 8689
加入: Mon Jun 19, 2006 11:15 pm
Location:Minsk, Belarus
Contact:

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 2:22 pm

heh, really works )))
Top
用户头像
hilton
Long time Member
Long time Member
Posts: 634
加入: Thu Sep 07, 2006 5:12 pm
Location:Jozi (aka Johannesburg), South Africa

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 3:53 pm

我们正在测试upstream bandwid streaming now anybody can access mms://202.78.124.3:1234 :)
working like a bomb here in South Africa. The stream is transferring on average 70kbps.

Nice music!
Top
x187
刚刚加入了
Posts: 24
加入: Fri May 01, 2009 3:21 pm
Location:127.0.0.1

Re: chupaka need your experties regarding mms streaming :)

Wed Jul 15, 2009 7:08 pm

我们正在测试upstream bandwid streaming now anybody can access mms://202.78.124.3:1234:)
working like a bomb here in South Africa. The stream is transferring on average 70kbps.

Nice music!
8)audio codec: mp3 @ 64kb/s re-stream from eve radio
Top

Who is online

Users browsing this forum:ammaree,congp,Google [Bot],Kanzlerand 87 guests