How to Setup a VPN between Ubiquiti Edge Router and SonicWall Devices
I just spent all day trying to setup a new VPN connection between a Ubiquiti Edge Router Light (ERL) and a SonicWALL TZ210. While there are several articles and blogs out there which pointed me in the right direction, I still encountered issues. I wanted to jot down my notes before I forget them.
I started off by following a now deleted wiki article from Ubiquiti’s wiki site. In this example, I will use the following IP Address
Ubiquiti ERL Configuration – Local Site
SonicWall Configuration
Log into the web management of your SonicWall device and click VPN, then click “Add…”
General
Network
Proposals
Advanced
Leave everything unchecked and set the VPN Policy Bound to dropdown to your WAN interface name
Troubleshooting
After configuring both devices, I saw that the tunnel came online but was not passing any traffic. After hours of playing around, I finally found the setting in the Ubiquiti device.
Log into the Ubiquiti through the web portal (default username is ubnt, default password is ubnt)
Click the “Config Tree” menu item in the top right
In the left menu tree, expand “vpn->ipsec”
The “auto-update” field was blank on my device. After entering 3600 in the field and saving the config, data started to flow.