How can I configure a BGP Route based vpn between SonicWall and AWS ?

Description

Image


The following networks will be used for demonstration purposes during this article. Your networks may be different.

 AWS  Resources

  1. LAN subnet: 10.50.30.0/24
  2. Public IP: 13.237.76.27

 

SonicWall  Resources

  1. LAN subnet: 10.13.1.0/24
  2. Public IP: 40.74.74.168
  3. BGP Local ASN 65000
  4. BGP REMOTE ASN 64512
  5. BGP PEER IP 169.254.116.78
  6. TUNNEL INTERFACE IP 169.254.116.77




Resolution

  1. Login to the AWS portal at https://aws.amazon.com.
  2. Create Virtual Private Gateway and associate it with the VPC .Image

  3. Create Customer Gateway  with routing as Dynamic and remote end Public ip address .Image

  4. Create VPN connection and define Virtual Private gateway and Customer Gateway and (Download Configuration ) to be used on SonicWall.Image

SonicWall Configuration

  1. Login to the SonicWall firewall.
  2. Navigate to the VPN policy tab. We're using the latest SonicOS 6.5 firmware. Navigate to Manage | VPN | Base Settings. Click Add to create a new VPN policy.
  3. Give the VPN policy a name. We'll use the following settings.

    • Policy Type: Tunnel Interface
    • Authentication Method: IKE using Preshared Secret.
  4. Click the Proposals tab and use default IKEV2 proposals.
    Image


  5. Create Tunnel Interface, navigate to Network | Interfaces.
    Image

  6. Enable Advance routing Under Network | Routing | Settings, Configure BGP using CLI.

    admin@0040103538F8> config t
    config(0040103538F8)# routing
    (config-routing)# bgp
     ARS BGP>router bgp 65000
     neighbor 169.254.116.78 remote-as 64512
     network 10.13.1.0 mask 255.255.255.0

 

 

Related Articles

  • SonicWall UTM throws an error : " Invalid Authentication " Error: SN and EPAID Do Not Match
    Read More
  • Firewall logs show frequent probe status changes after upgrade
    Read More
  • SSO Agent 4.0: Installation, Configurations, and troubleshooting
    Read More
not finding your answers?
was this article helpful?