Setting up a VPN

Popeye

n3wb
Joined
Jul 13, 2016
Messages
21
Reaction score
1
I have read a little on VPN"S but wanted to get some advise from those of you that know a little about them. I want to set up a new Security camera in my apartment, but I heard that you have to have some type of secure connection to keep anyone on the internet from hacking into it. Is a VPN secure enough to be able to remotely view my camera or would I need something else? Any information will be greatly appreciated. Thanks
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,681
Reaction score
14,043
Location
USA
There are several different types of VPN. Unfortunately, the most common (PPTP) was cracked years ago and can no longer be considered secure. So if you have to choose between PPTP VPN and simply opening ports to your camera, it is hard to say which is the better option. If someone gets into your camera, then how much access they have to your network depends on how they got into the camera. If they break in to your VPN, they might as well be plugged in to your router directly because they have full access to your network.

You could try using a more secure option such as OpenVPN, but most routers don't have an OpenVPN server built in so you'd have to run it on a computer in your apartment. It can be tricky to set up because it is not very user-friendly in my experience. And then no computer or mobile device I know of has an OpenVPN client built in. You have to download that separately on every device you want to connect from. And regardless of VPN type, you always have to connect to the VPN before you can access your cameras. All this makes it inconvenient to view your cameras, especially if you have never done it before on a particular device.

What I do myself is I run video management software that I trust (Blue Iris) on a PC at home, and I choose a port number over 10000 to forward to it. I don't have to deal with a VPN this way, and my definitely insecure cameras aren't exposed to the internet.

Also, since you are concerned with security, check if your router has UPnP enabled. If so, disable it. UPnP is a feature that allows devices on your network to automatically open ports through your router without your knowledge. Until I discovered this lurking on my router, I unknowingly had dozens of ports open to my very insecure cameras. Not cool.
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
Setup and run a VPN Server on your router, and the VPN Clients on your phone.. it will effectively be like your on your local wifi when your away from home, all your LAN devices will be accessible when the VPN is established

its as secure as your login credentials, yet the best available solution by a very large margin.

PPTP+IPSec is perfectly secure, I've not seen anything that defaults to only PPTP in eons.. pptp is just an encapsulation method, its built in security is flawed but anymore its simply the transport layer.. not security.. dont let PPTP scare you off, anymore its synonymous with IPSec unless your on 15 year old operating systems.
 
Last edited by a moderator:

Popeye

n3wb
Joined
Jul 13, 2016
Messages
21
Reaction score
1
There are several different types of VPN. Unfortunately, the most common (PPTP) was cracked years ago and can no longer be considered secure. So if you have to choose between PPTP VPN and simply opening ports to your camera, it is hard to say which is the better option. If someone gets into your camera, then how much access they have to your network depends on how they got into the camera. If they break in to your VPN, they might as well be plugged in to your router directly because they have full access to your network.

You could try using a more secure option such as OpenVPN, but most routers don't have an OpenVPN server built in so you'd have to run it on a computer in your apartment. It can be tricky to set up because it is not very user-friendly in my experience. And then no computer or mobile device I know of has an OpenVPN client built in. You have to download that separately on every device you want to connect from. And regardless of VPN type, you always have to connect to the VPN before you can access your cameras. All this makes it inconvenient to view your cameras, especially if you have never done it before on a particular device.

What I do myself is I run video management software that I trust (Blue Iris) on a PC at home, and I choose a port number over 10000 to forward to it. I don't have to deal with a VPN this way, and my definitely insecure cameras aren't exposed to the internet.

Also, since you are concerned with security, check if your router has UPnP enabled. If so, disable it. UPnP is a feature that allows devices on your network to automatically open ports through your router without your knowledge. Until I discovered this lurking on my router, I unknowingly had dozens of ports open to my very insecure cameras. Not cool.
Thanks for the help.. Great information. I will try to put this to use. So if my router does not support Openvpn then I would have to purchase a separate router? I was burglarized last week so I do not leave my laptop in my apartment anymore, so I guess that option is off the table. :( Thank you again for the help, I do appreciate it.
 

josalamanca007

Young grasshopper
Joined
Mar 25, 2016
Messages
68
Reaction score
18
Thanks for the help.. Great information. I will try to put this to use. So if my router does not support Openvpn then I would have to purchase a separate router? I was burglarized last week so I do not leave my laptop in my apartment anymore, so I guess that option is off the table. :( Thank you again for the help, I do appreciate it.
Check to see if your current router supports custom firmware such as dd-wrt. If it does, load it and configure OpenVPN on it.

If you have an old computer you could run pfSense(https://goo.gl/m4tglS), setting up OpenVPN on pfSense is not difficult.
 

Popeye

n3wb
Joined
Jul 13, 2016
Messages
21
Reaction score
1
Do I have to actually be on my own network at home to install the firmware? DUmb question I know but I really have no clue about this stuff. LOL! Thank you though for the advise.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,681
Reaction score
14,043
Location
USA
Do I have to actually be on my own network at home to install the firmware? DUmb question I know but I really have no clue about this stuff. LOL! Thank you though for the advise.
You need access to a computer at your home to do it, unless you have enabled remote access on your router. It is unwise to attempt it remotely in case you need to reconfigure the router after installing firmware.
 

josalamanca007

Young grasshopper
Joined
Mar 25, 2016
Messages
68
Reaction score
18
Do I have to actually be on my own network at home to install the firmware? DUmb question I know but I really have no clue about this stuff. LOL! Thank you though for the advise.
I perform all firmware updates via wired LAN. It's my preference.
What is the model of your router? Are you using your internet provider's gateway?
 

mycoma

BIT Beta Team
Joined
Jun 11, 2014
Messages
150
Reaction score
51
You need a router that supports vpn like netgear r7000 or some asus routers or run Pfsense on a pc or a device with 2 network interfaces.
 
Top