How to put webserver behind SonicWall?

Steven O 40 Reputation points
2024-05-08T17:36:16.47+00:00

THIS ASSIGNMENT IS FOR LEARNING PURPOSES ONLY I'm a new IT professional that's looking to become a sys admin. I deployed a windows vm via azure containing my webserver, thats hosting my site (https://mysite.net). I just deployed another vm with SonicWall NSv (Firewall/Security/VPN/Router)-BYOL marketplace appliance thats on a separate vnet in azure. The private ip address of webserver is (10.0.0.7), and the private IP of sonicwall is (172.16.0.3). I want to put webserver behind the sonicwall firewall, but since they're on two separate vnets they're unable to communicate with each other. I'm having trouble with the configurations I need to make in azure and sonicwall. Can someone please help? Need step by step. Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,255 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,197 questions
0 comments No comments
{count} votes

Accepted answer
  1. hossein jalilian 4,040 Reputation points
    2024-05-08T21:55:00.5433333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    • In the Azure portal, navigate to the VNet containing your web server and the VNet containing the SonicWall NSv firewall. create a VNet peering connection between the two VNets, allowing them to communicate with each other
    • Log in to the SonicWall NSv firewall management interface using the default credentials provided in the Azure Marketplace listing. create a new firewall rule to allow traffic from the web server's VNet to the SonicWall NSv firewall's VNet, and vice versa. ensure that the firewall rules are configured to allow the necessary ports and protocols for your web server to function properly.
    • In the Azure portal, navigate to the web server's network interface and update the default gateway to the private IP address of the SonicWall NSv firewall (172.16.0.3).

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful