CAMNET
Firewall and router
Access CAMNET server remotely

 

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).

[ Windows Firewall ]
A1. Start Windows Firewall from System and Security in the Control Panel. Select Advanced settings.

 

[ Windows Firewall ]
A2. Create a new inbound rule.

 

[ Windows Firewall ]
A3. Port is the rule type.

 

[ Windows Firewall ]
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.

 

[ Windows Firewall ]
A5. Allow the connection to the port(s) specified at A4.

 

[ Windows Firewall ]
A6. Apply the rule to all three profiles listed.

 

[ Windows Firewall ]
A7. Name and describe this new rule.

 

[ Windows Firewall ]
A8. Review the properties of this new rule: allow the connection.

 

[ Windows Firewall ]
A9. Review the properties of this new rule: TCP and port 4041.

 

[ Windows Firewall ]
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.
[ Windows Firewall ]
B1. For local, LAN access allow the 16-port block range used by CAMNET server through the firewall.

 

[ Windows 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 72.40.21.12 (the IP address your ISP has assigned to your modem), to access CAMNET server at port 4041, set the Camnet client to use 72.40.21.12, 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).

[ Router virtual server ]
C1. For remote, WAN access set as shown in the picture.