Can i access cameras from my private network?

hi to all i newly get to know nethserver and i loved it when i try it in virtual box
i am planning to make this network

could i access it if i attach the cameras to my green private network or i have to connect them directly to the router which by the way have a static IP which can be accessed world wide??
i forget to mention that we need to be able to open check the cameras from home or any where in the world when traveling

Hi @1118,

welcome to NethServer Community.

Both attachements are possible to access it from internal and external. You may use port forwarding on your router to put the cams to the network. You have to do it on Nethserver too, when the cams are in green network. This way you can reach your cams by port, like https://public-ip-or-fqdn:22221 for the first cam, https://public-ip-or-fqdn:22222 for the second cam and so on…

Another way is reverse proxy, so you can reach it like https://public-ip-or-fqdn/cam1

I’d put it in the green zone so it’s under control of Nethserver, you have to do it if you want reverse proxy.

Do you have WLAN on your router?

yes i have WLAN on the router

Do you use it or do you have separate WLAN for internal use behind Nethserver? Are the cams wireless or cabled?

the cams are cabled and i for the wireless i am not sure about how to deal with it for now.
by the way i think i still need to do port forward for the router when use reverse proxy right?

another thing the current configuration is choatic the whole network is reachable from internet and all machine are assigned with 192.168 subnet do you think it is okey to put the 192 for internal green and 10.10 for the router ?

Yes, you are right.

Yes, it is.

You should use Nethserver as DNS and DHCP server because of Active Directory, which works best with this configuration.

thank you so much for your feedback. this is my first work my background previously was mostly theoretical :slight_smile:

You’re welcome. Feel free to ask if you have questions.

another thing from my studying security comes with multiple layer of protection. i found many network maps that connect the clients of the LAN to the router directly which is in most case an ISP provided router with very limited firewall capabilities. in your opinion which one of those maps i put here does provide better security, management, and control? and what is the advantage of each one over the other?

the second

I’d prefer the first one (and not only because I can see it much better :grinning:).
I don’t get second one but maybe if you have wlan on the adsl router and need to use it for internal network? What system is the firewall between internet and adsl router? A bridge firewall? Why do the WLAN/VPN clients have a separate firewall? Do you have some more examples/links of such configs?

My home setup as example:

Internet and VPN clients - Provider router (cable modem) - NethServer firewall/gateway/proxy/IPS/VPN (two interfaces) - NethServer DC/mail/webapps (only green)

I set my Nethserver gateway as DMZ host on my cable modem so any network traffic is forwarded from modem to my gateway This way I have full control on the Nethserver firewall and don’t have to reconfigure my modem for every port forward etc.

1 Like


If I just may. Since you’ll be the administrator, why not control the access? Have them view the cams/dvrs from a VPN connection? Much work for you for configuration of VPN but much more secure. I wouldn’t want my corporate/business/especially home CCTVs and DVRs to be open for public viewing.

Nothing is preventing you to open your port and forward it to the device, mine is just a suggestion.

1 Like

The other thing I see from your original diagram is double NATting, firstly to the 192,168.0.024 network and then to which could possibly cause even more issues.


1 Like

yes i am considering vpn connection for the cameras and remote desktop. can you give me some ideas about the best way to do that??

what do you suggest then?? i want to seperate the interal LAN from the internet. and in futer if i need a web server i want to put it on the red zone

i got some new info about the current implementation. the factory is 3 levels and each level has 2 routing switches and 1 POE for cameras. the overall number of cameras is 66 and the number of computers curently attached is 10 devices 3 in ground level and 4 in 1 level and 3 in the last level. most of the switches are used for the cameras. so any diffrent suggestion or you advice me to stick with my plan?. and for cameras if i want to make a vpn server for it what is the best way to do it in my suggested model??
thank you :slight_smile:

Create an openvpn server on your Nethserver.

If you have a router in front of Nethserver port forward the vpn port to NethServer.

Connect via openvpn client to the server. This way you should reach your cams easily.


thank you for the feedback. another little thing i notice that the people who do the infrastructure place routers instead of switches. i dont think this was necessary and i think i should turn of routing and any other services from the routers except the main one , am i right?

It’s enough to have one Nethserver with its firewall/routing functions.

1 Like

You might want to review it. The infra people who put in the routers instead of servers might have the following agenda which may or may not have been implemented:

  1. The network is or should have been segmented/VLANed, thus in need of routing.
  2. They have routers but routing/dhcp server is disabled, effectively making it a switch. If this is the case, I’m thinking that there’s no switch/es available but there’s plenty of routers or these routers are consumer grade making it cheaper.

In anyways, it’s yours now, just do proper documentation.


another question if i may. if i want to have 2 diffrent subnets in the private network one for the pcs and printers and one for cameras. is it possible to do that in nethserver?