- Aug 7, 2017
- 418
- 225
Hello Everyone
I have this idea of developing a web-based HTTP GUI (kind of like what routers use) for the Raspberry Pi. It will allow you to easily configure and setup OpenVPN, generate, revoke certificates for any number of users that want to access your home network (through the VPN).
The second functionality of the software (which I am looking into later on) is to act as a gateway(firewall) device for all Dahua NVRs (and cameras). By specifying the gateway IP as the Raspberry Pi on the NVR, essentially, all external Push Notifications, Email alerts, Time NTP server requests, etc. will get intercepted by the Pi. The Pi will parse the request and then forward it out to your main gateway(router) to the internet. This will ensure that only useful, necessary, data is leaving the NVR/camera to the internet and it is not "phoning home" for no reason.
Essentially, one would then be able to set rules in their main router that the NVR and any other IP cam can no longer reach the internet (without the proxy-like authorization from the Raspberry Pi). You may ask, why do this? Well, remember if you block your NVR from reaching the internet, it will not be able to update the NTP, send email alerts or push notifications, and update DNS. Some people may still want this feature without exposing or elevating the security risk.
Lastly, the RPI would be highly secured, accessed via SSH. It will use password-less authentication by way of RSA public/private key pair. This means the ONLY way to break into raspberry pi is having the key. The second security is by having enabled the passphrase for the key. So if you lose the key, the intruder still needs the passphrase(password). The key will be set-up only once. If the key is ever lost, the entire RPI image/software would need to be reloaded.
The idea is to be plug-n-play. Plug it into your home network. It will grab a DHCP address. You can force a static address later. The rest would/should be self-explanatory from the GUI.
So to recap, it will support the following features:
-OpenVPN support (generate, revoke certificates)
-SSH passwordless authentication by SSH key pairs
-Forward email, push alerts, accordingly
-Process NTP requests
-Background DNS updates
The challenge is mostly going to figure out how to intercept the requests coming out of the NVR and them forwarding it accordingly. I think the SDK may have some clues in there for me.
Any thoughts?
I have this idea of developing a web-based HTTP GUI (kind of like what routers use) for the Raspberry Pi. It will allow you to easily configure and setup OpenVPN, generate, revoke certificates for any number of users that want to access your home network (through the VPN).
The second functionality of the software (which I am looking into later on) is to act as a gateway(firewall) device for all Dahua NVRs (and cameras). By specifying the gateway IP as the Raspberry Pi on the NVR, essentially, all external Push Notifications, Email alerts, Time NTP server requests, etc. will get intercepted by the Pi. The Pi will parse the request and then forward it out to your main gateway(router) to the internet. This will ensure that only useful, necessary, data is leaving the NVR/camera to the internet and it is not "phoning home" for no reason.
Essentially, one would then be able to set rules in their main router that the NVR and any other IP cam can no longer reach the internet (without the proxy-like authorization from the Raspberry Pi). You may ask, why do this? Well, remember if you block your NVR from reaching the internet, it will not be able to update the NTP, send email alerts or push notifications, and update DNS. Some people may still want this feature without exposing or elevating the security risk.
Lastly, the RPI would be highly secured, accessed via SSH. It will use password-less authentication by way of RSA public/private key pair. This means the ONLY way to break into raspberry pi is having the key. The second security is by having enabled the passphrase for the key. So if you lose the key, the intruder still needs the passphrase(password). The key will be set-up only once. If the key is ever lost, the entire RPI image/software would need to be reloaded.
The idea is to be plug-n-play. Plug it into your home network. It will grab a DHCP address. You can force a static address later. The rest would/should be self-explanatory from the GUI.
So to recap, it will support the following features:
-OpenVPN support (generate, revoke certificates)
-SSH passwordless authentication by SSH key pairs
-Forward email, push alerts, accordingly
-Process NTP requests
-Background DNS updates
The challenge is mostly going to figure out how to intercept the requests coming out of the NVR and them forwarding it accordingly. I think the SDK may have some clues in there for me.
Any thoughts?