- SonicWALL does not support Group VPN (GDOI) or other mesh VPN technologies, leaving manual configuration as the only option.
- Configuring site to site VPNs for each and every site in your organization is time consuming, and depending on your SonicWALL model you may be limited by the number of IPSec tunnels allowed on your device (i.e. The TZ-105 only allows 5 IPSec tunnels).
I recently ran into this very situation. I was deploying a phone system at multiple sites for a customer, which required LAN-like communication between all sites. Rather than building tunnels at each site to every other site, I remembered the 'Forward packets to remote VPNs," feature. It would be great because it would save me time, as all traffic would just route through the hub site. However, in newer versions of the software this option is no longer present, so I had to do some research on how to make it work. I thought I would share what I did, since there is really no information out there (none that I could find anyway...) that walks you through the process.
For simplicity's sake, let's assume that we have 3 sites:
- Los Angeles - This is our main office (AKA the hub site). The LAN subnet for this site is 10.0.0.0/24.
- Austin - This is a branch office (AKA our first spoke site). The LAN subnet for this site is 192.168.0.0/24.
- Atlanta - This is a branch office (AKA our second spoke site). The LAN subnet for this site is 172.16.0.0/24.
Here are the general configuration steps:
- On Los Angeles (the hub site):
- Define address objects for each site under Network -> Address Objects:
- Los Angeles:
- Name: Los Angeles LAN
- Zone Assignment: VPN
- Type: Network
- Network: 10.0.0.0
- Netmask: 255.255.255.0
- Austin:
- Name: Austin LAN
- Zone Assignment: VPN
- Type: Network
- Network: 192.168.0.0
- Netmask: 255.255.255.0
- Atlanta:
- Name: Atlanta LAN
- Zone Assignment: VPN
- Type: Network
- Network: 172.16.0.0
- Netmask: 255.255.255.0
- Create an address group for each site under Network -> Address Objects:
- Create a group called Austin:
- Add Atlanta LAN
- Add Los Angeles LAN
- Note that we are calling this group "Austin" even though we are not adding Austin LAN to the group. This group will be referenced in a VPN policy that will allow both the Los Angeles LAN and Atlanta LAN subnets to communicate with Austin. More information to follow...
- Create a group called Atlanta:
- Add Austin LAN
- Add Los Angeles LAN
- Same thing applicable here as above. We are calling the group Atlanta because it will be applied to the Atlanta VPN, but these address objects we are referencing do not include the Atlanta LAN address object.
- Create VPNs to each remote site under VPN -> Settings:
- Create a VPN called Austin:
- Under the General tab:
- Policy Type: Site to Site
- Authentication Method: IKE using Preshared Secret
- Name: Austin
- IPSec Primary Gateway Name or Address: (public IP of Austin site)
- Shared Secret: (enter whatever password you want here, just remember that it has to match on both ends)
- Under the Network tab:
- Local Networks: (choose Austin from the list)
- Remote Networks: (choose Ausitn LAN from the list)
- Under the Proposals tab:
- This varies, but I usually choose IKEv2 mode, and AES-256 for encryption at the very least.
- Under the Advanced tab:
- Check the Enable Keep Alive check box
- Create a VPN called Atlanta:
- Under the General tab:
- Policy Type: Site to Site
- Authentication Method: IKE using Preshared Secret
- Name: Atlanta
- IPSec Primary Gateway Name or Address: (public IP of Atlanta site)
- Shared Secret: (enter whatever password you want here, just remember that it has to match on both ends)
- Under the Network tab:
- Local Networks: (choose Atlanta from the list)
- Remote Networks: (choose Atlanta LAN from the list)
- Under the Proposals tab:
- This varies, but I usually choose IKEv2 mode, and AES-256 for encryption at the very least.
- Under the Advanced tab:
- Check the Enable Keep Alive check box
- On Austin (the spoke site):
- Define address objects for each site under Network -> Address Objects:
- Los Angeles:
- Name: Los Angeles LAN
- Zone Assignment: VPN
- Type: Network
- Network: 10.0.0.0
- Netmask: 255.255.255.0
- Austin:
- Name: Austin LAN
- Zone Assignment: VPN
- Type: Network
- Network: 192.168.0.0
- Netmask: 255.255.255.0
- Atlanta:
- Name: Atlanta LAN
- Zone Assignment: VPN
- Type: Network
- Network: 172.16.0.0
- Netmask: 255.255.255.0
- Create an address group for the other sites under Network -> Address Objects:
- Create a group called Other Sites:
- Add Atlanta LAN
- Add Los Angeles LAN
- Create a VPN to the Los Angeles site under VPN -> Settings:
- Under the General tab:
- Policy Type: Site to Site
- Authentication Method: IKE using Preshared Secret
- Name: Los Angeles
- IPSec Primary Gateway Name or Address: (public IP of Los Angeles site)
- Shared Secret: (enter the same password you entered when you created the Austin VPN on the Los Angeles SonicWALL)
- Under the Network tab:
- Local Networks: (choose Austin LAN from the list)
- Remote Networks: (choose Other Sites from the list)
- Under the Proposals tab:
- Enter the same information you entered on the Los Angeles SonicWALL
- Under the Advanced tab:
- Leave everything as is
- On Atlanta (the other spoke site):
- Define address objects for each site under Network -> Address Objects:
- Los Angeles:
- Name: Los Angeles LAN
- Zone Assignment: VPN
- Type: Network
- Network: 10.0.0.0
- Netmask: 255.255.255.0
- Austin:
- Name: Austin LAN
- Zone Assignment: VPN
- Type: Network
- Network: 192.168.0.0
- Netmask: 255.255.255.0
- Atlanta:
- Name: Atlanta LAN
- Zone Assignment: VPN
- Type: Network
- Network: 172.16.0.0
- Netmask: 255.255.255.0
- Create an address group for the other sites under Network -> Address Objects:
- Create a group called Other Sites:
- Add Austin LAN
- Add Los Angeles LAN
- Create a VPN to the Los Angeles site under VPN -> Settings:
- Under the General tab:
- Policy Type: Site to Site
- Authentication Method: IKE using Preshared Secret
- Name: Los Angeles
- IPSec Primary Gateway Name or Address: (public IP of Los Angeles site)
- Shared Secret: (enter the same password you entered when you created the Atlanta VPN on the Los Angeles SonicWALL)
- Under the Network tab:
- Local Networks: (choose Atlanta LAN from the list)
- Remote Networks: (choose Other Sites from the list)
- Under the Proposals tab:
- Enter the same information you entered on the Los Angeles SonicWALL
- Under the Advanced tab:
- Leave everything as is
Upon completion, you will see a green light on the VPN -> Settings page, which indicates that the VPN is up. On the remote sites, you will see 2 green lights, indicating connectivity to both the hub and spoke sites.