Want to access your CANLogger3000 log files online from any device, globally?
This can be done via port forwarding in < 5 minutes.
Use cases include:
- Remotely troubleshoot client equipment in another country - without removing the logger or disturbing your client
- Set up scripts to loop through the online web interfaces of multiple devices to e.g. backup files regularly
- Easily share log file data with partners across companies with different VPNs
In this article we provide a quick guide on how to set up port forwarding for your CANLogger3000.
Also make sure to check our 2 min guide video above!
Note: If you're looking to automatically transfer data on a regular basis, FTP Push may be more relevant for you.
This comes with the added advantage that you do not need to set up port forwarding to get your data online!
WHAT IS PORT FORWARDING?
Port forwarding is a way to make a wireless device on your home/business network available online while behind a router.
It's typically used to make a host device available outside a protected network - e.g. for gaming or file download.
A forwarded port is also called an open port - for more details on this, check out e.g. Wikipedia.
BUSINESS NETWORKS & VPN
Note that the below guide assumes that you are able to configure your router, as would be the case e.g. on a home network.
For VPN based business networks, it may be more difficult to set up port forwarding.
- If you can log onto the VPN, you may be able to access the logger this way (via the link you've configured in CANvas)
- If you're not able to log on to the VPN (e.g. of a client), you may need to find a solution with the relevant IT department
3 STEPS TO PORT FORWARD A CANLOGGER3000
To access CAN bus data online from the CANLogger3000, you'll need to follow the below steps:
- Login to your router
- Go to the port forwarding section
- Set up the port forward entry in your router
- Connect via your local network's public WAN IP address
The details of each step depend on what router you're using. For this reason, we recommend checking out portforward.com.
This page contains a comprehensive list of router models - and guides for each one on how to set up a Port Forward.
Below we give a bit of guidance on each of the steps.
1# Login to your router
To log in, you typically have to enter the relevant IP address in a browser (e.g. Chrome).
In most cases, the IP will be 192.168.0.1 or 192.168.1.1. You can also find it by entering "ipconfig" in your cmd promt.
Upon hitting enter, you will be prompted to enter your username and password.
In e.g. a home network, these will typically be visible on your router.
2# Go to the port forwarding section
Once you've logged in, you'll need to find the section on port forwarding - here portforward.com can also be a help.
Often, the section will appear as a sub section to an "Advanced" or "WAN" section.
3# Set up the port forward entry in your router
In the port forward section, you'll need to create an entry for your CANLogger3000 device.
To do so, you will need to specify a few key inputs:
- Device/Service Name: This is mainly useful for keeping track of the devices you add (e.g. user LoggerID)
- Port Range: When connecting a single logger, simply set this to 80
- Local IP: The CANLogger3000 will appear on your client device list in your router settings - simply use the IP for the logger (to test that it's the right IP, you can enter it into the browser to check that the web server interface with log files comes up)
- Local Port: This should be set to 80
- Protocol: This should be set to TCP
Apply the settings and the CAN logger should be online!
4# Connect via your local network's public WAN IP address
As the final step, you will need to find your local network's public WAN IP address.
The fastest way is simply to enter "My IP" in Google and use the address that pops up.
You can now send this address to persons that wish to connect to the logger online!
Below is a visual recap of the steps - exemplified on an ASUS router.