APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Why use a VPN instead of opening ports?


Some material is very old and may be incorrect today

© May 2015 Anthony Lawrence

Anonymous asks:

I need to access my security cameras from home. My camera guys says we need to forward ports on the firewall, but my firewall guy says I should use the VPN instead. Who is right?

Well, there's nothing wrong with what the camera dude said: you can forward specific ports to internal IP addresses. Most firewalls allow that although they may refer to it in different ways. You might find it under "Gaming" on some firewalls, "Port Forwarding" on others, "DNAT (Destination NAT)", "Translation" - but whatever it's called, the concept is that the packets get sent to the specified internal machine. That's a very common way to gain access to internal devices like cameras.

But your security guy is right too. He's saying to use the VPN capability of the firewall. This adds security. An external port scan of the camera ports will find nothing responding - all access would have to be through the VPN, no camera ports are forwarded. As VPN's are also usually configured to allow access only for specific users, this gives you even more control of who can see your cameras. No ports need be opened to the world and you give access to only those you want to be able to see the cameras.

As you have VPN on your firewall, I'd agree with your security guy.


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Why use a VPN instead of opening ports?


Inexpensive and informative Apple related e-books:

Take Control of IOS 11

Digital Sharing Crash Course

Take Control of Numbers

Take Control of Upgrading to El Capitan

Take Control of High Sierra





More Articles by © Anthony Lawrence





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Being able to break security doesn’t make you a hacker anymore than being able to hotwire cars makes you an automotive engineer. (Eric Raymond)




Linux posts

Troubleshooting posts


This post tagged:

Forum

Networking

Security



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode