Community discussions

MikroTik App
 
bramear
just joined
Topic Author
Posts: 7
Joined: Mon May 02, 2016 10:47 pm

Put a camera in the same VPN network

Fri May 06, 2016 3:16 pm

Hello everybody , :D

Here is the configuration I am trying to set up:
explication.PNG
I have succeeded in :
- Connect the mikrotik card to internet with LTE modem;
- Connect the card to the vpn server and get a new IP address: 10.8.0.14
- Ping from the card to the server, from the card to the computer, from the computer to the card ,from the computer to the server, from the server to the computer and the card.

But now I want to see my camera in the unifi-video software . the camera is connected by ethernet on the card .

I tried the port forwading with my camera :
Capture.PNG
Capture2.PNG
And I did that for many ports ( 110,443,80,etc ... ) that the camera may use to reach the unifi-video interface via VPN .

But still impossible for unifi-video to detect the camera ... :(

On my server , I edit the server.conf of my VPN with 2 push routes :

push "route 192.168.88.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"

And I add a route in the interfaces file ( network directory) :

route add -net 192.168.88.0/24 gw 10.8.0.14



Mikrotik card model : RB922UAGS-5HPacD ( and i'm using winbox to configure it )


Can you help me ? I would be very grateful

Thanks again
You do not have the required permissions to view the files attached to this post.
 
bramear
just joined
Topic Author
Posts: 7
Joined: Mon May 02, 2016 10:47 pm

Re: Put a camera in the same VPN network

Sun May 08, 2016 5:56 pm

I understand that my application is unclear. :?

So is anyone can tell me what to do to connect the network between a computer (for example,for me it's a camera) through the ethernet port and the internet network (wifi or LTE) between the card and another computer.

What should I do to ping from one computer to another.

It's been several days that I try things but in vain :( . If someone finds me a solution, I would be so happy

Thanks again
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Put a camera in the same VPN network

Mon May 09, 2016 7:15 pm

use eoip tunnel to bridge the two networks.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Put a camera in the same VPN network

Mon May 09, 2016 7:16 pm

or enable proxy-arp.
 
bramear
just joined
Topic Author
Posts: 7
Joined: Mon May 02, 2016 10:47 pm

Re: Put a camera in the same VPN network

Tue May 10, 2016 1:36 am

I think proxy arp is enabled by default if I'm referring to this : http://wiki.mikrotik.com/wiki/Manual:IP/ARP

I don't think EoIP Tunnel is adapated because for me it's not an internal tunnel . ( between camera and card )
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Put a camera in the same VPN network

Tue May 10, 2016 6:05 am

proxy arp is not on by default.

if you can't send a 255.255.255.255 broadcast and see it traverse to the other side then it will not work. You need to be on the same broadcast domain / lan segment which means you need an eoip tunnel or proxy-arp. the other end of a vpn tunnel is not part of the same broadcast domain just because it has an ip address assigned in the same range. Is your VPS server physically connected to the same switch that the mikrotik is or is it tunneling across the network?
 
bramear
just joined
Topic Author
Posts: 7
Joined: Mon May 02, 2016 10:47 pm

Re: Put a camera in the same VPN network

Tue May 10, 2016 11:07 am

Hello ,

My VPS is tunneling accros the network , the mikrotik card can connect to the VPN using a key and certificates .
but how do I activate proxy arp ?

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], NetworqAndy, pstrauts, shaisha, zabloc and 64 guests