![]() Additionally, the default VPN configuration files for macOS from the router do not work correctly.īefore 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. I tried using Tunnelblick per their recommendation and it wouldn’t work. I’ll post another tutorial in the future on using a VPN for remote access and screen sharing to a Mac.Īfter 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. If you’re curious what a VPN is and why you may need it, this article should answer that. Now just double click the ovpn file, and the configuration will automatically be imported into Tunnelblick.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. The line ca ca.crt points to the certificate your QNAP has automatically generated and should be in the same directory as the openvpn.ovpn file. The line remote should read your the internet IP address of the internet connection where the QNAP is connected to. Tls-cipher TLS-SRP-SHA-RSA-WITH-3DES-EDE-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA The contents of this file will look like: client Open the openvpn.ovpn file in Tunnelblick, but before you do this check if the correct external IP for your internet connection is in the openvpn.ovpn file. Choose for the stable version and download it here. Now the client side: for OS X we will use Tunnelblick, an open source graphic userinterface for OpenVPN on Mac. The VPN server configuration is now finished. This rule should read: forward port 1194 UDP to QNAP ip address port 1194 UDP. The next step is to configure a forwarding rule for your QNAP (on your internet modem/router), more specifically, to the IP address of the interface selected at the Network interface option. ![]() Now select privilege settings, and select OpenVPN for the user that is allowed to use VPN: readme.txt – Contains the instructions to configure the VPN client.openvpn.ovpn – OpenVPN configuration file.ca.crt – Certificate file needed for the OpenVPN client.The certificate file is a zip file named qnap-ovpn.zip and contains three files: Apply the configuration and download the certificate file. The network interface is the NIC in your QNAP that will/can connect to the internet, note that this NIC shouldn’t be used by a virtual switch. The maximum number of VPN clients is up to you, I would advise to set the encryption to AES 256 bit. You can keep the server port (1194) as it is. OpenVPN will route the traffic from the OpenVPN segment to the connected LAN. ![]() ![]() You have to define the VPN client IP pool, note that this range is a different one then the one your using in your LAN. ![]() Select OpenVPN option, enable OpenVPN and create an initial configuration: With 4.3 the OpenVPN server is part of the QVPN service, so you need to open this app for the initial configuration. The second step is to configure the OpenVPN server on the QNAP. You can deselect all shared folder permissions and application privileges, this is not required for a user that’s using VPN (unless you also want to give this user access to other QNAP resources). The first step is to create a user on your QNAP that can use OpenVPN. This post is based on QNAP firmware 4.3.3. With version 4.3.x QNAP some things changed in the interface, when compared to 4.2.x. Today a post on how to configure OpenVPN on QNAP and how to connect MacOS to the OpenVPN server on your QNAP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |