Okay Voxel, I will load your new 24SF probably tonight when I can get some down time. I am still worried about Netgear not fixing their terrible openvpn certificate and key generation though. From what I can see in their firmware implementation, they have the certificates and keys all embedded in their firmware and when you reboot or restart their openvpn, it just extracts the configs from their firmware into a .tar file and then untars their hard coded config keys into place in the /tmp/openvpn directory. If those keys are not generated uniquely each time the Netgear router starts openvpn, then it seems to me that everyone with this Netgear R7800 router will have the same exact configs, certificates and keys!I created fix version 1.0.2.24SF. Please check it with your Android and default key/crt. Should be OK now.
https://www.mediafire.com/folder/tyj61i5uc610w/voxel-firmware
Voxel.
This firmware is really great!
I am just a little Leary about reloading from a backup cause all the guys in the RMerlin thread advise against it on the Asus(Which I use as a bridge on RT-3100.). It does seem to work ok on the R7800 so far, but I am just a worrier. So I try to be as careful as I can.
Okay Voxel, I will load your new 24SF probably tonight when I can get some down time. I am still worried about Netgear not fixing their terrible openvpn certificate and key generation though. From what I can see in their firmware implementation, they have the certificates and keys all embedded in their firmware and when you reboot or restart their openvpn, it just extracts the configs from their firmware into a .tar file and then untars their hard coded config keys into place in the /tmp/openvpn directory. If those keys are not generated uniquely each time the Netgear router starts openvpn, then it seems to me that everyone with this Netgear R7800 router will have the same exact configs, certificates and keys!
I can't believe Netgear management is not concerned about this security exposure enough to fix it. All these years it has been like this. Most casual users won't be aware of this exposure when they enable their openvpn. Wow!
Okay, better safe than sorry. I'm not sure how exactly that Netgear CA is generated or working for sure but it looks like the CA file is hard coded in their firmware and if so, it will be exactly the same CA for everybody who uses it. No? Anyway, I hope you are right on that. Regardless, Thanks for your great work!IMO it is not so dangerous to use generated by firmware keys/ca/certs. I did not investigate this in deep, but logically if you do not share such generated CA, then it cannot not be used by third party to sign their client cert/keys. And your VPN will not accept alien clients.
(But I’m using my own Paranoia )
Voxel.
Voxel, okay, I loaded the new 24SF firmware tonight and it is working just fine now. Netgear openvpn is working again with its own certificate keys.IMO it is not so dangerous to use generated by firmware keys/ca/certs. I did not investigate this in deep, but logically if you do not share such generated CA, then it cannot not be used by third party to sign their client cert/keys. And your VPN will not accept alien clients.
(But I’m using my own Paranoia )
Voxel.
You know, if there are any doubts, how do you say: "better safe than sorry". I added possibility of using own keys/certs. I use my own to do not think about it: just set up and forget.Voxel, okay, I loaded the new 24SF firmware tonight and it is working just fine now. Netgear openvpn is working again with its own certificate keys.
I see now in their script that there is a re-generate CA, keys and certificates routine that I suppose will make each Netgear router CA unique. But I am not for sure either on it. But the fact that each router generates the same CA and keys over and over again is still a concern for distributed client keys on devices that you might want to revoke but can't using Netgears openvpn. Generating new CA, dh and keys and stuff is difficult and beyond most folks to do and install!
Okay, sounds good. Your customized firmware is working solid for me now. I don't use all the extra fancy stuff like traffic metering, QOS or anything, so I can't speak to that area. But for my basic reliability internet and LAN connections use, it is solid. I also like that I can just load and use the same exact configuration files from the original Netgear v1.0.2.20 firmware without any resetting or wipes. It just works. Thank You!You know, if there are any doubts, how do you say: "better safe than sorry". I added possibility of using own keys/certs. I use my own to do not think about it: just set up and forget.
OK, Now everything is OK with OpenVPN. I'll update my initial post in this thread: not so many changes to start new thread.
Voxel.
Most probably it is possible. I did not investigate this in deep. If you need also to setup your iptables rules then the only problem is Netgear's firewall (/usr/sbin/net-wall, no source codes) which spoils all iptables settings. I did some modification of /usr/sbin/net-wall, now it is script which sets also my settings and runs original precompiled net-wall (I renamed it as net-wall-bin). So you should modify this my script adding your rules for client after call of Netgear's firewall. See for example how kyle55555 did modification of this script adding TUN OpenVPN to R7500v1:I know this had been asked several times over, but I'm still struggling to understand whether it is possible to configure the router as a VPN client via the console (not via the web page), or are the closed-source Netgear binaries a limitation there as well?
I'm trying to figure out how to use Transmission instead of Netgear Manager. I followed the steps in readme.docx from Voxel Mediafire space.
I have a 2 TB HDD that is formatted as NTFS. I don't think I can create a swap file in root of drive and expect it to work. So I attached a 8 GB USB stick formatted as ext4 and created a 1GB swap file in it. Still can't get Transmission to work, it shows me a blank page in GUI with a small sad face diagram and "routerlogin.net is not responding" underneath.
Any help is appreciated
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!