Learn how to use vSwitches to segment your VPN into subnets.
| Where Can I Use This? | What Do I Need? |
- Alibaba Cloud International Regions subscription
- Alibaba Cloud Mainland China subscription
|
- VM-Series License (BYOL)
- VM-Series plugin
- Panorama
|
After creating a VPC, you can create vSwitches to segment your virtual private network into
subnets. This sample features a VPC with CIDR 192.168.0.0/16; you can enter your own values.
Four vSwitches create four subnets.
| vSwitch Name | Interface | Sample CIDR |
| mgmt | eth0 | 192.168.0.0/24 |
| untrust | eth1 | 192.168.1.0/24 |
| web | eth2 | 192.168.2.0/24 |
| db | eth3 | 192.168.3.0/24 |
In the following diagram, the VM-Series firewall connects to two trusted subnets, web and db.
Inbound traffic is initiated when an external client accesses the VM-Series firewall’s
Untrust interface. The firewall inspects the traffic and sends it to an application. For
example, the firewall sends traffic to a Web server through the Trust interface. The traffic
returning from the Web server must hit the VM-Series firewall’s Trust interface. The
firewall inspects the return traffic flow, and sends it out through the Untrust
interface.
To secure
inbound traffic, both DNAT and SNAT must be configured on the firewall.