Web Developer & Photographer
Menu
menu

I imagine if you stumble across this you already know what a VPN is, so I’m not going to bother going into it here. If you’re curious what a VPN is and why you may need it, this article should answer that. I’ll post another tutorial in the future on using a VPN for remote access and screen sharing to a Mac.

After a bit of research last weekend, it was apparent NETGEAR has not updated their documentation for setting up a VPN on macOS with their routers. I tried using Tunnelblick per their recommendation and it wouldn’t work. Additionally, the default VPN configuration files for macOS from the router do not work correctly.

Before we get started, please note that I’m using a Nighthawk AC1750 router, which shouldn’t matter because the steps are similar with other VPN enabled NETGEAR routers. Hopefully these instructions should make your setup easy and headache-free:

  1. Unless you’re a business and can get a static IP from your ISP, you’ll need to set one up with a third-party. NETGEAR recommends No-IP. Go ahead and setup a Dynamic DNS (DDNS) through No-IP.com
  2. I’d recommend the Enhanced Dynamics DNS ($24.95/yr) so you don’t have to bother confirming your hostname every month
  3. Go ahead and download the Dynamic Update Client for Mac. This checks for an IP address change. When a different IP address is detected, it updates your hostname to the correct IP.
  4. Once you’re finished, have your Host Name, User Name, and Password ready for the next steps
  5. Make sure you’re connected to your local internet or Wi-Fi network
  6. Login to your router by going to 192.168.1.1 or routerlogin.net
  7. The default login credentials are “admin” and “password”, which you should have changed by now ;-)
  8. In the router settings go to Advanced > Advanced Setup > Dynamics DNS
  9. Check the box for “Use a Dynamic DNS Service”
  10. In the Service Provider drop-down menu choose “www.No-IP.com”
  11. In the fields below, enter your Host Name, User Name, and Password from No-IP
  12. Click “Apply” to save this information
  13. Go to the VPN Service tab which is right below Dynamic DNS on the left side under “Advanced Setup”
  14. Check the box for “Enable VPN Service”
  15. Leave the Advanced Configurations to their defaults:
    • TUN Mode Service Type: UDP
    • TUN Mode Service Port: 12973
    • TAP Mode Service Type: UDP
    • TAP Mode Service Port: 12974
    • Clients will use this VPN connection to access: Auto
  16. For the OpenVPN configuration package download, please click “For Smart Phone”
    • Don’t worry, the config file for smart phone will work on macOS. You have to use smart phone config file because the “For non-Windows” (aka Mac) version is outdated and won’t work properly.
  17. When you open the smartphone.zip file, you should see 4 files:
    • ca.crt
    • client_phone.ovpn
    • client.crt
    • client.key
  18. Now, you need to download the latest version (3.0.2) of OpenVPN client for macOS from here
  19. Once you install OpenVPN, open it up. You should it in the menubar.
  20. Click on “Install Profile”
  21. Drag and drop the “client_phone.ovpn” file onto OpenVPN
  22. Rename the server hostname if you’d like
  23. To use your VPN, connect to a different network other than your local, like a mobile hotspot for example
  24. Once you’re on an outside network, go to OpenVPN in the menubar and click on “Connect”
  25. Now you’re all set!

screenshots: 4 8-12 13-15 16 17 20 21 24