Koozali.org: home of the SME Server

help .... i cannot connect my dvr

Offline mik4

  • *
  • 13
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #15 on: March 03, 2014, 12:00:46 PM »
is port 7000 open on your modem/router? (is it a modem or a router?)

in any case, from server-manager -> port-forwarding , setup port 7000 from anywhere to port 7000 of your dvr (i.e. forward to 192.168.200.4)

there is no port forwarding in my modem

is these right
protocol tcp / udp
source port 65535
destination host ip addres 192.168.200.4 (my dvr)
destination port 7000

Offline mik4

  • *
  • 13
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #16 on: March 04, 2014, 10:29:23 AM »
is there nothing i can do to make it work .....

need help ..... please

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #17 on: March 04, 2014, 01:35:59 PM »
mik4

From what I read here & earlier suggestions, that should be
source port 7000
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mik4

  • *
  • 13
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #18 on: March 05, 2014, 10:49:28 AM »
ok i will try it

thx

Offline Xavier.A

  • ****
  • 104
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #19 on: March 05, 2014, 09:47:39 PM »
@mik4 : With no information we can't really help you.

0) Could you access this video flux before installing SME server?
1) Could you tell us what kind of media server is your DVR : video streaming server, media center or another kind of media server
2) What is the protocol used : TCP/UDP, HTSP, RTP / SRTP / RTSP, RTMP /T/S/E, MPEG-TS / MTS / TS or MMS ?
3) What is the personal machine (OS) you are using to access this video flux (smartphone, pc, tablet)?
4) Did you give a permanent IP for all your machine in your LAN?
5) What is the software/viewer to access this video flux (XBMC, MythTV, VLC, Flash, M$ Media Center, etc...)?
6) What is your external IP, then we could watch your video for free  :-P ?

Try to make it work in the lan and after open the service to the wan ;-)
1) you have to open port 7000 in your personal machine if you can
2) Port Forwarding

Why would u want to use PF, if your installation is like this :
external IP - Modem - 192.168.1.1 <--> 192.168.1.2 : eth1 - SME Server - eth0 : 192.168.200.1 <--> 192.168.200.4 - DVR
                                                                                                                                  <--> 192.168.200.xxx - pc
                                                                                                                                  <--> 192.168.200.xxx - Smartphone

But in this case, you can use port forwarding:
external IP - Modem - 192.168.1.1 <--> 192.168.1.2:7000 - SME Server - 192.168.200.1:7000 <--> 192.168.200.xxx - pc1
                                               <--> 192.168.1.3:7000 - DVR                                         <--> 192.168.200.xxx - pc2
                                                                                                                               <--> 192.168.200.xxx - Smartphone

or in this case (is it this one, really?):
192.168.1.1  - Modem - 192.168.200.xxx <--> 192.168.200.1:7000 - SME Server - 192.168.xxx.1:7000 <--> 192.168.xxx.xxx - pc1
                                                       <--> 192.168.200.4:7000 - DVR                                         <--> 192.168.xxx.xxx - pc2
                                                                                                                                           <--> 192.168.xxx.xxx - Smartphone

Xavier
“When the wise man points to the moon, the fool looks at the finger.”

Offline johnp

  • *****
  • 312
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #20 on: March 06, 2014, 12:21:43 AM »
I would think that it would be port 7000 from the modem forwarded to the outside ip address on your server and 7000 forwarded from your server to the dvr. If there is a setting on your modem for dmz, you may try adding the outside address of your server in it. I've seen many modem/gateway devices that would forward all ports to this value. Seeing how the server gateway is a firewall, there shouldn't be any issue in running this way.

Offline mik4

  • *
  • 13
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #21 on: March 06, 2014, 02:45:21 AM »
@kid_of_leognan

i'll try to answer the question

0)yes, i can
before i changed to my new server (server+gateway), before (server only)
i saw so many security hole in my old server (everybody get access to internet) and i tried to fix that with built a new server

old config
modem ->server -> lan
modem ->dvr

new one
modem -> server ->dvr, lan, etc

1)video streaming (cctv for my office)
2) TCP/UDP
3) we accessed it with almost all device (smartphone, tablet n pc)
4) yes we give them a permanent IP, but modem got dynamic IP from ISP
5) CMS from drvhost.com
6) hehehe ... i don't think it would give u any good stuff

in meantime i can't accessed it from LAN not from WAN

@johnp
i don't quite understand what u mean with the outside address of my server


thx all

Offline Xavier.A

  • ****
  • 104
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #22 on: March 06, 2014, 02:48:13 PM »
(for the answer n°6 : it would be fun to see your team in bikini  8-) )

Now, are you working with linux/bsd desktop or not?
If yes then u will use tools for beginer Unix admin (like SME Server Admin)  :lol:

From a linux/bsd PC in your lan, open a terminal and :
ping 192.168.200.4
[ctrl]+[c]

if u can ping the cctv server (DVR) then install nmap (sudo apt-get install nmap / sudo yum install nmap) and:
nmap -sn --traceroute 192.168.200.4
nmap -T4 -F 192.168.200.4
nmap -sS -sU -T4 -A -v 192.168.200.4

if the 7000 TCP/UDP ports are open then install text browser lynx or links (sudo apt-get install links / sudo yum install lynx) and:
lynx 192.168.200.4:7000 or links 192.168.200.4:7000

That was the first part of the audit now the second part.
You have to plug the PC to the modem (192.168.1.1) and to try to make the same test but now the target is the SME Server (192.168.1.2).

From the PC connected to the modem, open a terminal and :
ping 192.168.1.2
[ctrl]+[c]

if u can ping the SME Server (192.168.1.2) then
nmap -T4 -F 192.168.1.2
nmap -sS -sU -T4 -A -v 192.168.1.2

if the 7000 TCP/UDP ports are open then :
lynx 192.168.1.2:7000 or links 192.168.1.2:7000

if not then u have to use Port forwarding in the SME Server :
firefox https://192.168.200.1/server-manager

After that, you can verify in the SME Server:
iptables -v -L -n | grep 7000

and finally
lynx 192.168.1.2:7000 or links 192.168.1.2:7000

That's all !
« Last Edit: March 06, 2014, 02:51:14 PM by kid_of_leognan »
“When the wise man points to the moon, the fool looks at the finger.”

Offline johnp

  • *****
  • 312
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #23 on: March 07, 2014, 12:39:37 AM »
FWIW, an ouside address would be the WAN interface as opposed to an inside being the LAN

Offline mik4

  • *
  • 13
  • +0/-0
Re: help .... i cannot connect my dvr
« Reply #24 on: March 07, 2014, 06:29:19 AM »
many many thanks to u guys
i'll try it tommorow on weekend

i hope everything goes well tommorow
i'll inform u the update later

thanks again  :-P :lol: :grin: