VMware VSHIELD APP 1.0 - API Instrukcja Użytkownika Strona 47

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 104
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 46
VMware, Inc. 47
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
appropriatevShieldEdge inthevShieldManageruserinterfaceandinthevSphereClientplugin.
FortheVPNschema,see“vShieldEdgeSchemas”on
page 88.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.
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 103 104

Komentarze do niniejszej Instrukcji

Brak uwag