The following describes methods to set up Windows Firewall to allow remote, outside-your-LAN access to CAMNET server (section A); allow local, on-your-LAN access to CAMNET server (section B), and setting up a router to allow access to CAMNET server from the internet (section C).
A1. Start Windows Firewall from System and Security in the Control Panel. Select Advanced settings.
A2. Create a new inbound rule.
A3. Port is the rule type.
A4. TCP port 4041 is the non-admin port, and the only port that needs to be open. If you intend to access admin-only features remotely (from outside your LAN), such as setting up cameras, adding users, and so on, also include port 4040.
A5. Allow the connection to the port(s) specified at A4.
A6. Apply the rule to all three profiles listed.
A7. Name and describe this new rule.
A8. Review the properties of this new rule: allow the connection.
A9. Review the properties of this new rule: TCP and port 4041.
A10. Review the properties of this new rule: Domain, Private, and Public profiles apply.
To set a rule for local, LAN access to CAMNET server, follow the steps in Section A, but with the following differences.
B1. For local, LAN access allow the 16-port block range used by CAMNET server through the firewall.
B2. For local, LAN access to CAMNET server, the Private profile applies.
Router set-up to allow remote access varies. Check with your router's documentation on how you can do that. The example below is to a D-Link router, using the Virtual Server method. This forwards the port accessed to a specific machine - the machine hosting CAMNET server.
For example, if your WAN IP address is 184.108.40.206 (the IP address your ISP has assigned to your modem), to access CAMNET server at port 4041, set the Camnet client to use 220.127.116.11, port 4041. When the router, as set up below, receives packets on this TCP IP:port combination, the router redirects that traffic to 192.168.0.199, port 4041 (the local, LAN IP address of this CAMNET server).
C1. For remote, WAN access set as shown in the picture.