Skip to main content

Stream Cloud VPN Setup for Meraki MX

Stream Cloud allows you to process a video stream in the cloud with minimal hardware setup. Ensure your camera supports RTSP:

  1. RTSP is only supported on second generation cameras (MV2/MV12/MV22/MV32/MV52/MV72 cameras only). It is not supported on the MV21 and MV71.
  2. RTSP is only available on MV 4.2 firmware and newer. Refer to Managing Firmware Upgrades for steps on doing this firmware upgrade for your MX.

MX Public IP

  1. To find your Meraki device's IP address, open the Meraki dashboard and select ‘Security appliance’ -> ‘Appliance Status’. Mx Applicance Status Menu

  2. In the case below, the number hidden with the blue box is the public IP of the MX. Mx Wan IP

Camera VLAN CIDR block

Create a VLAN for just the cameras you want to share with Platerecognizer so that the rest of your network is isolated. Sharing an existing VLAN and using Firewall rules is not recommended because the MX cannot block VPN traffic initiated by non-Meraki peers.

  1. Choose a preferred CIDR block that doesn’t overlap with blocks already assigned to other users. The CIDR block must contain at least 4 IPs (/30 or larger), 2 IPs in the block are reserved for the network and broadcast addresses. Use this free tool to help generate a CIDR block. Examples:

    • The CIDR block 192.168.1.0/30 has 4 IPs, Fit up to 2 cameras.
    • The CIDR block 192.168.1.0/29 has 8 IPs, Fit up to 6 cameras.
    • The CIDR block 192.168.1.0/28 has 16 IPs, Fit up to 14 cameras.
  2. Create VLAN by going to Security & SD-WAN > Configure > Addressing & VLANs Mx Addressing and VLANs Menu

  3. By default, VLANs are disabled, Click the checkbox Use VLANs to enable. Add additional VLANs by clicking Add VLAN at the top right of the Subnets table. Enable MX VLANs Info required when adding a VLAN: Info required when adding a VLAN

    • Name: The name of the VLAN.
    • Subnet: The selected CIDR block for the VLAN.
    • MX IP: Default gateway IP address. (If the subnet is 192.168.3.0/24, MX IP is 192.168.3.1).
    • VLAN ID: A unique numerical identifier assigned to the VLAN.
    • Group Policy: The group policy you wish to apply to this VLAN, If any.
  4. Save changes then scroll to the Per-Port VLAN Settings section. Click on a port for each camera then configure below fields:

    • Enabled: Select Enable.
    • Type: Set the port to access mode.
    • VLAN: Select the VLAN for the cameras. Per Port VLAN Settings

    Share the CIDR block for the VLAN and the MX public IP then Platerecognizer will share back the following configurations required in the next steps:

    • Peer Name
    • Peer Public IP
    • Peer Pre-Shared secret

Add Platerecognizer VPN peer

  1. In your Meraki Dashboard navigate to site-to-site VPN options under ‘Security appliance’->’Site-to-site VPN’. Site-to-site VPN Menu

  2. Under ‘type’, select ‘Hub (Mesh)’ Site-to-site VPN Type

  3. Under the ‘VPN settings’ sub-header find the VLAN that you’d like to enable the site-to-site routing for and select ‘yes’ under the ‘Use VPN’ column. Enable VPN on VLAN

  4. Leave NAT traversal as automatic.

  5. Leave OSPF advertisements disabled.

  6. Scroll down to Organization-wide settings > Non-Meraki VPN peers Add Non-Meraki VPN peer

  7. Click on Add a Peer then fill out the information as described below:

    • Name: Peer Name provided by Platerecognizer
    • Public IP: Peer Public IP provided by Platerecognizer
    • Private subnets: 172.31.2.0/24
    • IPSec policies: Click “Default”, select “AWS” under the Preset menu and "Update"
    • Pre-shared secret: Peer Pre-Shared secret provided by Platerecognizer
    • Availability: All networks Non-Meraki VPN peer configuration
  8. To bring up the VPN tunnel, interesting traffic should be initiated from a host behind Cisco Meraki. Try a PING to 172.31.2.241 from the VLAN on the MX. A successful ping means the tunnel is set up correctly.

Enable External RTSP

After doing the configuration, RTSP must be enabled per-camera then share the IP address for each camera to Platerecognizer.

  1. Select Cameras > Monitor > Cameras and select a camera from the list.
  2. Select Settings > Video Settings.
  3. Under External RTSP select Yes

Enable External RTSP

More info on enabling external RTSP

Floating button icon
CTRL + .