Important:
As with any router changes, Jamf strongly recommends that you configure these settings with care and possibly in a pre-production environment to avoid unintended service interruptions.
- Configure a Jamf Security Cloud VPN policy:
- Log in to your SonicWall router with administrator credentials.
- Navigate to .
- Under the VPN Policies section, click Add.
- In the General tab, for Authentication Method, select .
- For Name enter an easily identified name.
- Set IPsec Primary Gateway Name or Address and IPsec Secondary Gateway Name or Address to
0.0.0.0. - Under IKE Authentication in Shared Secret and Confirm Shared Secret, paste in the Pre-Shared Key created when configuring the IPSec interconnect in Jamf Security Cloud.
- For Local IKE ID, select Domain Name then enter the Customer IKE Domain ID value specified when setting up the IPSec interconnect in Jamf Security Cloud.
- For Peer IKE ID, select Domain Name then enter
wpa.wandera.com. - Click the Network tab at the top of the window.
- Under Local Networks select the address object or address group that defines the subnets that your servers, applications, or workloads reside on.
Important:
If you set the Customer Subnet in the IPSec interconnect wizard in Jamf Security Cloud to 0.0.0.0/0, you can select any address object or address group.
Otherwise, the networks selected in Local Networks must match all Customer Subnets defined in Jamf Security Cloud.
- For Destination Networks, select Create new address object.
- In the window that appears, configure the following:
- Name —A name for the Jamf-side network; for example,
JamfClientIPs. - Zone Assignment —Typically this should be VPN, but you may need to specify a different zone based on your router configuration.
- Type —Select Network.
- Network —Specify the network address defined in the Jamf Subnet configuration in Jamf Security Cloud. The example Jamf recommends is
192.168.233.0/24, but you can get this value from the IPSec interconnect's View infographic. - Netmask —Specify the subnet for the above network as submitted in Jamf Security Cloud. A
/24 subnet is represented as 255.255.255.0.
- Save the network object and select it as the Destination Network in the VPN policy window.
- Select the menu item.
- Under IKE (Phase 1), configure the fields as follows:
- Exchange —IKEv2 Mode
- DH Group —Group 14
- Encryption —AES-256
- Authentication —SHA512
- Lifetime (Seconds) —28800
- Under IPSec (Phase 2), configure the fields as follows:
- Protocol —ESP
- Encryption —AES-256
- Enable Perfect Forward Secrecy —Yes (checked)
- DH Group —Group 14
- Lifetime (Seconds) —28800
- Select the Advanced tab at the top of the screen.
- Check Enable Keep Alive.
- Ensure VPN Policy Bound To is set to (or the other zone used to connect to external connections per your firewall configuration).
- Click OK to create the VPN policy.
- Check the Enabled box for the VPN policy that appears.
If your configuration is successful, an entry for the VPN policy will appear in the Currently Active VPN Tunnels section.
- If you set the IPsec Primary Gateway Name or Address field to
0.0.0.0, you must configure Incoming IKEv2 Cyphers:
Important:
Changing this configuration may impact existing IKEv2 tunnels that connect from any IP address. Fixed IP tunnels are not affected. Review your other VPN connections before making this change.
- Navigate to .
- Under IKEv2 Settings, click Configure.
- In the window that appears, configure the following settings to match the equivalent settings in Jamf Security Cloud:
- DH Group —Group 14
- Encryption —AES-256
- Authentication —SHA512
- Click OK to save the configuration.
- Create and configure an Access Rule:
Note:-
If SonicOS does not automatically create one, you may need to define an access rule that allows traffic from the Jamf Security Cloud network to your servers and applications, before traffic will flow through the VPN tunnel.
-
These settings assume you are using typical zone configurations. Modify your access rule details as required.
- Navigate to .
- Click Add.
- In the window that appears, configure the VPN as follows:
- Action —Allow
- From Zone —VPN
- To Zone —LAN
- Service —Any
- Source —Pick the Jamf address object you created earlier; for example,
JamfClientIPs. - Destination —Pick the network address object/group as configured in the VPN policy defined above.
- Users Allowed —All
- Schedule —Always on
- Click OK to save the VPN rule.
The secure connection is created. It can take up to 10 minutes for connectivity to be established.
If the VPN does not appear in the Active VPN tunnels section, check the logs in the SonicWall interface and filter by VPN.
Common errors include:
-
A mis-match in cypher selection between Jamf and SonicOS for the IPSec/IKEv2 tunnel
-
If the "Country Restriction" feature is enabled, Jamf IPs may be classified as Unknown, which may result in them being denied. Add Jamf IPs address object(s) to the "Country and Botnet Exclusions" address group object to resolve this.