After you have applied the security policies to the blueprint in your scenario, you can create the distributed firewalls and associate them with the security policies. Distributed firewall rules allow only network traffic that is required by the web application, thus making the environment more secure.
By default, all incoming and outgoing traffic is blocked. For installing software packages and for other special situations, you can open ports. The scenarios in this guide use yum and wget. This task opens ports for HTTP, HTTPS, and DNS-UDP for looking up a proxy server and the port for connecting to the proxy server. Your firewall rule depends entirely on your environment.
Procedure
- Log in to the Compute vCenter Server by using the vSphere Web Client.
- From the vSphere Web Client home page, select Networking & Security.
- In the Navigator, select Service Composer.
- In the main panel, select the Security Policies tab.
- From the NSX Manager drop-down menu, select 172.16.11.66.
- Create firewall rules for the Default Web Application Policy.
- Create firewall rules for the Application Server Policy
- Create firewall rules for the Database Server Policy.
- Create firewall rules for the Web Server Policy