Connecting to camera using VPN ?

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
When I look in the camera NAT setting, I can see Internal port 8000 and External port 8006 - is that setting ok ?

I try to reach my cam at port 8000 from the outside, not port 8006

OpenVPN NAT cam03.JPG
 

Defcon

Getting the hang of it
Joined
Sep 9, 2015
Messages
133
Reaction score
26
Location
UK
Try port 8006 or change it to 8000 so internal is the same as the external
 

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
I'm about to give up.

My OpenVPN connection works just fine, I'm pretty sure.

When I'm far away from home, and I logon my OpenVPN connection I get my home wan IP. I can log on my router with 10.0.0.1 and I can log on my FTP server with 10.0.0.1. But when I try to logon my camera at 10.0.0.100 there is no connection.

- Kim -
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
your camera at 10.0.0.100, you manually configure that as a static IP?

Does it have the proper gateway and subnet configured? should be 10.0.0.1/255.255.255.0

if those are not right it could cause this problem.

10.0.0.1 is your router, can you ping any device on your network OTHER than your router?
 

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
your camera at 10.0.0.100, you manually configure that as a static IP?

Does it have the proper gateway and subnet configured? should be 10.0.0.1/255.255.255.0

if those are not right it could cause this problem.

10.0.0.1 is your router, can you ping any device on your network OTHER than your router?
Yes, I have changed my two cameras IP to a static IP 10.0.0.100 and 10.0.0.101

My router IP is 10.0.0.1/255.255.255.0

My OpenVPN is 10.1.0.0/255.255.255.0

When I'm on my wifi I can ping every device on my network.

When I'm on my OpenVPN I can only ping 10.0.0.1, but not my cameras or any other device on my network. But how can this be ?

- Kim -
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
then your router is blocking your LAN access, need need to allow it.. some routers have a security setting for lan access, or isolation or something you need to check.. or you might have a firewall rule on the router that could prevent the traffic.
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
After changing the interface type to "TAP", you need to generate another client file and replace the old client file with this new one.
 

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
then your router is blocking your LAN access, need need to allow it.. some routers have a security setting for lan access, or isolation or something you need to check.. or you might have a firewall rule on the router that could prevent the traffic.
It must be something about that I think. I'll have to take a look again at my router.
 

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
After changing the interface type to "TAP", you need to generate another client file and replace the old client file with this new one.
Interface type is set to TUN. I'll try to change it to TAP
 

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
No, still not working.

I think it has something to do with the OpenVPN blocking access to my cameras.
 

Spookiepower

Young grasshopper
Joined
Jun 9, 2015
Messages
91
Reaction score
4
Sorry for my late answer, but I think I got it to work now.

I did change the setting from TUN to TAP, and when I log on the OpenVPN connection using my Mac Book laptop, it works just fine. I get access to my cameras :)

But when I try to import the ovpn file to my OnePlus2 phone (Android) I get the message "TAP-based tunnels are not supported : OSI layer 2 tunnels are not currently supported".

---- UPDATE ----

The app I used on my phone only supported TUN. I had to find a new app that supports TAP, and now it works on both my Mac Book and my phone :)

- Kim -
 
Last edited by a moderator:

aztihg

n3wb
Joined
Feb 11, 2015
Messages
21
Reaction score
0
Kim, how did you get the TAP OpenVPN connection work on Mac laptop? because on my ipad2 I get the message "TAP-based tunnels are not supported" Thanks. Aztihg
 
Top