Security in Shared Networks
with VMware NSX
Alireza Eskandari
SPONSORED BY:
whoami
 Manager of Cloud Services at Afranet
 Senior DevOps Engineer at Snapp!
 Senior Cloud Engineer at Solvians
Shared Networks
 A type of network offerings in CloudStack
 Users share a common L2 and L3 network
 Useful when you want assign public IPs directly to VMs
Security Concerns
 Traffic sniffing
 MAC spoofing
 IP spoofing
 DHCP spoofing
Solution
 Network offering configuration
 Security appliances
Service Offering Configuration
 Traffic Spoofing
 MAC Spoofing
Service Offering Configuration
Security Appliances
Vmware NSX
 Firewall
 DHCP Spoofing
 SpoofGuard
 IP Spoofing
NSX Configuration
 No control plane
 No VXLAN
 Only enable firewall
DHCP Protocol
SpoofGuard
 Detects VMs IPs by ARP or/and DHCP traffic
 Blocks packets from VMs which their IPs are not approved
 Detects IP conflicts
Automation Script
 A python script uses NSX and CloudStack API to
automate the procedure.
 https://github.com/aleskxyz/cloudstack-spoofguard-manager
Thanks for your attention!

Security in Shared Networks with VMware NSX