NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Nov 06, 2017Nighthawk r7500 vpn setup
I'm new to VPN but learn quickly. I'm trying to setup VPN on my router for a layer of security for my home. I am getting error messeges with openVPN. Following the instructions on the router, many for...
- Retired_MemberNov 08, 2017
After reading a LOT of information I decided to sell my R7500 and buy a R7000P I flashed it with DD-WRT and was done in about an hour... Super easy. I'm not sure why Netgear does not have more functionality built in the standard interface. Thank you all for the replies.
bripab007
Nov 06, 2017Tutor
We probably need a bit more info to really help you, but I've set up the VPN server on both the 7000 and 7500 routers, using both stock Netgear firmware as well as Tomato and DD-WRT 3rd-party firmwares. Netgear makes it fairly easy in the stock firmware, especially if you're just using a mobile device/smartphone. So what is the client device, do you already have a dynamic DNS provider for your ISP's internet connection (Netgear has the stock one I think serviced by No IP so you can choose a subdomain in the "mynetgear.com" DNS zone).
In Advanced > Advanced Setup > VPN Service > Enable VPN Service, I choose UDP for both TUN and TAP modes using the default ports 12973 and 12974, and I choose to forward all sites on internet *and* LAN through the VPN for maximum privacy when using the VPN on a public wi-fi AP.
Once those settings are applied, click the "For Smart Phone" button to download the OpenVPN (.ovpn) file--if you're on your phone already, just save this somewhere (locally, cloud storage, etc.) for access momentarily, & if you're on a desktop computer, you'll need to save it and then transfer it to your phone by whatever means necessary.
Next, install the OpenVPN app on your mobile device, after which you'll copy or import that .ovpn file on the phone into the OpenVPN mobile app. In iOS, this can be done through the shart sheet menu, selecing copy to OpenVPN--for example, if the .ovpn file is in Dropbox, select it and select share extension > copy to OpenVPN. OpenVPN app should ask you to confirm the import by hitting a green plus button, if my memory serves. Once imported, you can test it by tapping the toggle in the app to connect to the VPN. At this point, the VPN profile will have also been adding into your Settings app under the VPN section, so you can toggle it on/off there OR from the OpenVPN app.
Doing this on a desktop OS is roughly similar.
ClarDold
Nov 27, 2017Apprentice
I just bought a Netgear R7000P (Firmware Version V1.2.0.22_1.0.78) to replace an Asus RTN56U.
That router never had good wifi range, and after two years, the 5GHz connection would just die, and I needed to reboot regularly.
But, the VPN seemed better to me than the OpenVPN on the R7000.
On the R7000, it seems that port 80 is open to the world as soon as you enable VPN. I don't like that.
On the R7000, there is only one login, admin? Is that correct?
On my Asus, I had separate long user names and passwords for each VPN user.
I don't understand having every user log in as admin, and therefore allowing every VPN user full admin access.
Can I control what IP addresses or subnets can access port 80?
If I deliver the "smartphone.zip" file via some method, does port 80 have to be used at all?
If I deliver the zip file, do they ever need the admin login?
I think I only need TUN, but I see no way to disable TAP.
I will be using primarily an iPad into my VPN, often an Android phone, occasionally Windows and Mac.
- bripab007Nov 29, 2017Tutor
I'm not sure what you mean by port 80 being open to the world when you enabled the VPN server. When it's enabled, it'll listen on port 12974--if memory serves--for incoming VPN client connections. I also am not quite sure what you mean by one admin login for the VPN. Your old Asus router likely used an older PPTP VPN server with simplistic un/pw combos as the only method for logging in. The OpenVPN server on the Netgear routers uses client certificate chains (i.e. the .ovpn file you download from the GUI after turning it on). Yes, the Netgear implementation only lets you create a single .ovpn file, and thus, only a single discrete client, but you can connect I think up to two or four VPN clients with that cert on the R7000 (I think the R7500 supports four or eight??). Again, I'm not sure what you mean by VPN user having full admin access--the point of the VPN is to get a remote client onto your LAN, nothing to do with admin permissions. I think most mobile clients use TUN and desktop OS clients like Windows use TAP.
- ClarDoldNov 29, 2017Apprentice
bripab007 wrote:
I'm not sure what you mean by port 80 being open to the world when you enabled the VPN server.
I was conflating OpenVPN with the Netgear implementation.
I have a Linux OpenVPN server, and connecting to it on with a standard browser on port 943 (not 80) provides a way for a new client to download config files and continue with their OpenVPN. This is protected by a simple user/password login, but multiple possiblities.
I had confused that with the Netgear, where port 80 is only open on the LAN, not the WAN, but provides a path to the config downloads. The login here is a password, and user admin.
(nmap from the LAN to the public IP address showed the same results as a scan to the internal Private IP, which is misleading, but I see that is not uncommon amongst routers. I don't think that happened on the Asus, but I could be mistaken.)So, Public ports are not the problem that I thought they were. I need to supply my users with the .ovpn and associated files, because one needs to log in on the local LAN as admin in order to fetch them.
I have been able to connect Android OpenVPN client to both my OpenVPN server and to the R7000P.I can connect Windows 10 to the OpenVPN server, but I cannot connect to the R7000P.
It fails with errors that the #mitm suggests are server side problems, but my Android connects okay.
Wed Nov 29 13:35:16 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Nov 29 13:35:19 2017 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
Wed Nov 29 13:35:19 2017 OpenVPN ROUTE: failed to parse/resolve route for host/network: 10.1.2.0
Wed Nov 29 13:35:19 2017 TAP-Windows adapter 'NETGEAR-VPN' not found- ClarDoldNov 30, 2017Apprentice
ClarDold wrote:I can connect Android, but not Windows 10 to the R7000P VPN.
Wed Nov 29 13:35:16 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Nov 29 13:35:19 2017 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
Wed Nov 29 13:35:19 2017 OpenVPN ROUTE: failed to parse/resolve route for host/network: 10.1.2.0
Wed Nov 29 13:35:19 2017 TAP-Windows adapter 'NETGEAR-VPN' not foundOnly that last line matters.
The certificate verification WARNING appears repeatedly in the log, but seems to have no effect. The ROUTE message, no effect.
The instructions say: "Step 5: For a client device with Windows, you need to modify the VPN interface name to "NETGEAR-VPN". The VPN interface usually has a Device Name as "TAP-Windows Adapter"."
I had one named "Ethernet #2", but i noticed in small print that it said "TAP-Windows Adapter V9"I couldn't change the bottom line of that description, but I could change the name, to "NETGEAR-VPN".
Now Windows VPN connection to the R7000P works.
see the attached screenshot of what my Network Connections panel looks like (VPN not connected right now.)