VMware VSHIELD APP 1.0 - API Manual do Utilizador Página 53

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 52
VMware, Inc. 53
Chapter 5 vShield Edge Management
</vshieldEdgeConfig>
Configure VPN
vShieldEdgeagentssupportsitetositeIPsecVPNbetweenanEdgeapplianceandremotesites.Onbothends,
staticonetooneNATisrequiredfortheVPNaddress.vShieldEdgeagentssupportpresharedkeymode,
x/50Certificatemode,IPunicasttraffic,andnodynamicroutingprotocolbetween
theEdgeandremoteVPN
routers.BehindeachremoteVPNrouter,youcanconfiguremultiplesubnetstoconnecttheinternalnetwork
behindavShieldEdgethroughIPSectunnels.SubnetsandtheinternalnetworkbehindvShieldEdgemust
havenonoverlappingaddressranges.
YoucandeployavShieldEdgeagentbehinda
NATdevice,whichtranslatestheEdgeagent’sVPNaddress
intoapublicaccessibleaddressfacingtheInternet;remoteVPNroutersusethispublicaddresstoaccessthe
vShieldEdge.RemoteVPNrouterscanbelocatedbehindaNATdeviceaswell.Youmustprovideboththe
VPNnativeaddressand
theNATpublicaddresstosetupthetunnel.
AllVPNsettingsconfiguredbyusingRESTrequestsappearun der thevShieldEdge>VPNta b forthe
appropriatevShieldEdgeinthevShieldManageruserinterfaceand inthevSphereClientplugin.
FortheVPNschema,see“vShieldEdgeSchemas”on
page 116.SampleXMLrequestbody:
Example 5-27. Configure a VPN
POST https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge
<vshieldEdgeConfig xmlns="vmware.vshield.edge.2.0">
<ipsecSiteToSiteConfig>
<globalConfig>
<id>10.112.2.50</id>
<ipAddress>10.112.2.50</ipAddress>
<enableLog>false</enableLog>
</globalConfig>
<siteConfig>
<peerName>site1</peerName>
<peerId>site1</peerId>
<peerIpAddress>10.112.2.145</peerIpAddress>
<localSubnet>192.168.10.0/24</localSubnet>
<peerSubnet>192.168.20.0/24</peerSubnet>
<authenticationMode>psk</authenticationMode>
<preSharedKey>test</preSharedKey>
<encryptionAlgorithm>3des</encryptionAlgorithm>
<enablePfs>true</enablePfs>
<dhGroup>dh2</dhGroup>
</siteConfig>
</ipsecSiteToSiteConfig>
</vshieldEdgeConfig>
Forthedatapathtowork,youneedtochangethedefaultfirewallpolicytoallow,orpunchFirewallrulesto
allowdatatrafficonVPNandinternalinterfaces.Rules:
The<id>isauniqueIDusedbyallpeerstoidentifythisvShieldEdgeVPNgateway.Intheexample,itis
thesameas<ipAddress>.
SimilartothepreSharedKeyinsiteConfig,theoptionalpreSharedKeyForDynamicIpSitesin
globalConfigisapresharedkeyforusebyallpeerswhenconnectingwithanunknownIPaddress.
The<peerName>adescriptivenameofthepeer.
The<peerId>isanIDtouniquelyidentifythepeer,usedtodefinepoliciesforthepeerandforpeer
authentication.Forpeersusingcertificateauthentication,thisIDmustbethecommonnameinthepeers
certificate.ForPSKpeers,thisIDcanbeanystring,butideallythepublicIP
addressoftheVPNorthe
FQDNfortheVPNservice.
Vista de página 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 131 132

Comentários a estes Manuais

Sem comentários