UPNP®REMOTEAC C ESS —
CO N N EC TI N G TWOHOMEORSMALL
BUSINESSNETWORKS
June2012
UPnP®RemoteAccess—
2
ABSTRACT
UPnPRemoteAccesstechnologiesenableaUPnPdeviceorUPnPcontrolPoint,suchasamobile
phone,notcurrentlylocatedinthehomeorsmallbusinessnetworktobesecurelyconnectedto
the home or small business network. This allows the remote UPnP device or control point to
discoverandinteractsecurelywithanyoftheUPnPdevice orcontrolpointsthatarecontained
within thehome or small business network. UPnP Forum has recently published the version 2
Remote Access specifications in August 2011. The key feature of this new version of the
specificationsis to enable seamless connectionbetweentwo home or small businessnetworks
thus allowing UPnP devicesorcontrol pointin a home or smallbusiness networkdiscover and
interact with UPnP device and controlpoint in another home or small business network using
existing UPnP protocols.The newly published specifications address a number of features
including solution for address collision when connecting two home or smallbusiness networks
together,provisioningofremote access services, network address translation, and theconcept
of virtual device that allows multiple devices or services to be exposed to a remote home or
smallbusines snetworkun dertheframeworkofasingledevice.Thepurposeofthiswhitepaper
is to discover these new exciting features of the latest version of the remote access
specifications.
CONTENTS
Abstract...........................................................................................................................................2
Contents..........................................................................................................................................2
References.......................................................................................................................................3
IntroductiontoUPnP.......................................................................................................................5
UPnPRemoteAccessOverview.......................................................................................................6
UPnPRemoteAccessUseCases......................................................................................................8
UPnPRemoteAccessArchitectureParadigm.................................................................................8
UPnPRemoteAccessComponents.................................................................................................9
ConnectionEstablishmentBetweenTwoHomeorSmallBusinessNetworks.............................11
FilteringofDevicesExposedtotheRemoteNetwork..................................................................13
ResolvingAddressCollision...........................................................................................................13
RemoteAccessDeploymentwithNAT..........................................................................................14
UPnP®RemoteAccess—
3
Conclusion.....................................................................................................................................16
JoinUPnPForum...........................................................................................................................17
REFERENCES
[DEVICE]UPnPDeviceArchitecture,v ersion1.0.
Availableat:http://www.upnp.org/specs/arch/UPnParchDeviceArchitecturev1.0
20080424.pdf.
Latestversionavailableat:http://www.upnp.org/specs/arch/UPnPDeviceArchitecture
v1.0.pdf.
[DEVICEIPv6]UPnPDeviceArchitecture,version1.0.,AnnexAIPVersion6Support.
Availableat:http://www.upnp.org/resources/documents/AnnexAIPv6_000.pdf
[ICC]InboundConnectionConfig:1,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraInboundConnectionConfig v1
Service20090930.pdf.
Latestversionavailableat:http://www.upnp.org/specs/ra/UPnPra
InboundConnectionConfigv1Service.pdf.
[RAArchitecture]RAArchitecture:2,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRAARchitecturev2.pdf
.
[RAClient]RAClient:1,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRAClientv1Device.pdf
.
[RADAConfig]RADAConfig:2,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRADAConfigv2Service.pdf
.
[RADASync]RADASync:2,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRADASyncv2Service.pdf
.
[RADiscoveryAgent]RADiscoveryAgent:1,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRADiscoveryAgentv2Device.pdf
.
[RAServer]RAServer:2,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRAServerv2Device.pdf
.
[RATAConfig]RATAConfig:1,UPnPForum,
Availableat:http://www.upnp.org/specs/ra/UPnPraRATAConfigv1Service.pdf
.
UPnP®RemoteAccess—
4
[IGD]InternetGatewayDevice:1,UPnPForum,November,2001
Availableat:http://www.upnp.org/specs/gw/igd1?.
[RFC1889]IETFRFC1889,RTP:ATransportProtocolforRealTimeApplicatio ns,H.
Schulzrinne,S.Casner,R.Frederick,V.Jacobson,January1996.
Availableat:http://www.ietf.org/rfc/rfc1889.txt.
[RFC1918]IETFRFC1918,AddressAllocationforPrivateInternets,Y.Rekhter,et.Al,
February1996
Availableat:http://www.ietf.org/rfc/rfc1918.txt
[RFC2119]IETFRFC2119,KeywordsforuseinRFCstoIndicateRequirementLevels,S.
Bradner,March1997.
Availableat:http://www.ietf.org/rfcs/rfc2119.txt.
[RFC2131]IETFRFC2131,DynamicHostConfigurationProtocol,R.Droms,March
1997
Availableat:http://www.ietf.org/rfc/rfc2131.txt
[RFC2516]IETFRFC2516,AMethodforTransmittingPPPOverEthernet(PPPoE),L.
Mamakos,et.Al,February1999
Availableat:http://www.ietf.org/rfc/rfc2516.txt
[RFC3056]IETFRFC3056,Connection ofIPv6DomainsviaIPv4Clouds,B.Carpenter,
K.Moore,February2001
Availableat:http://www.ietf.org/rfc/rfc3056.txt
[RFC3489]IETFRFC3489,STUN‐SimpleTraversalofUserDatagramProtocol(UDP)
ThroughNetworkAddressTranslators(NATs),J.Rosenberg,et.Al,March2003
Availableat:http://www.ietf.org/rfc/rfc3489.txt
[RFC3550]IETFRFC3550,RTP:ATransportProtocolforRealTimeApplications,H.
Shulzrinne,et.Al,July2003
Availableat:http://www.ietf.org/rfc/rfc3550.txt
[RFC4380]IETFRFC4380,Teredo:TunnelingIPv6overUDPthroughNetworkAddress
Translations(NATs),C.Huitema,February2006
Availableat:http://www.ietf.org/rfc/rfc4380.txt
[RFC3986]IETFRFC3986,UniformResourceIdentifier(URI):GenericSyntax,Tim
BernersLee,et.Al,January2005.
Availableat:http://www.ietf.org/rfc/rfc3986.txt
UPnP®RemoteAccess—
5
[UWP]UPnPwhitepaper,September2010,
http://upnp.org/resources/whitepapers/UPnPWhitePaper_2010.pdf.
[ETSIES282001(2009)]TISPAN:NGNFunctionalArchitecture,Feb.2009.Availableat:
http://portal.etsi.org/docbox/TISPAN/Open/NGN_LATEST_DRAFTS/RELEASE3/02067
ngnr3v330.pdf
[TISPANCust]TISPANCustomerPremises Networks: ProtocolSpecification.Available
at:http://pda.etsi.org/exchangefolder/ts_185010v020101p.pdf
[RFC4787]IETFRFC4787,NetworkAddress Translation(NAT)Behavioral
RequirementsforUnicastUDP,C.Jennings,F.Audet,January2007[RFC2136]IETFRFC
2136,DynamicUpdatesintheDomainNameSystem(DNSUpdate),P.Vixie,et.al,April
1997
[RFC2782]IETFRFC2782ADNSRRforspecifyingthelocationofservices(DNSSRV),
A.Gulbrandsen,et.al,February2000
[RFC5389]IETFRFC5389,SessionTraversalUtilitiesforNAT(STUN),J.Rosenberg,et.
al,,October2008
[BEHAVETURN]IETFInternetDraft,TraversalUsingRelaysaroundNAT(TURN):Relay
ExtensionstoSessionTraversalUtilitiesforNAT(STUN),draftietfbehaveturn16,J.
Rosenberg,July2009
[RFC5128]IETFRFC5128,StateofPeertoPeer(P2P)Communicationaccress
NetworkAddressTranslators(NATs),P.Srisuresh,et.al.,March2008
[P2PCom]ProceedingsoftheUsenix2005AnnualTechnicalConference,pp.179192,
PeertoPeerCoummunication AcrossNetworkAddressTranslators,B.Ford,P.
Srisuresh,D.Kegel,,March2005]
[DLNADesignGuidelines]DLNANetworkedDeviceInteroperabilityGuidel ines,
Availableat:http://www.dlna.org/industry/certification/guidelines/

INTRODUCTION TOUPNP
Universal Plug and Play is a set of networking protocols proposed by the UPnP Forum
(www.upnp.org
).
ThegoalofUPnPtechnologyistoprovideabroadindustryinitiativethatsimplifiesnetworking
for small businesses and consumers. It intends to easily connect computers and other devices
UPnP®RemoteAccess—
6
intoanetwork‘hub’fromwhichtoaccessdata,transportmediaandoffernetworkconnectivity
underthecommandofanyconnectedcontroldevice.
UPnP device control protocols (DCP) are built upon open, Internetbased communication
standardsandcanthereforebeimplementedonanyoperatingsystem.Itworkswithanytypeof
physicalnetworkingmediathatsupportsIP,wiredorwireless,andoffersamultitudeofoptions.
UPnP devices are "plugandplay" in that when connected to a network they automatically
announcetheirnetworkaddressandsupporteddeviceandservicestypes,enablingclientsthat
recognizethosetypestoimmediatelybeginusingthedevice.
AnyControlPoint(CP)connectedtotheLANwillbroadcastsearchrequeststoidentifyavailable
UPnP devices and their supported actions. Control Point can then start invoking these
discoveredactions.Actionsinvoked w illinitiateasynchronous operations andreturn operation
IDsviawhichresultscansubsequentlybeobtained.
UPnP device and service standards are defined and published for Internet gateways/routers,
audiovideomediadevi ces,printers,scanners,climatecontrol,lightingandwirelessLANaccess
points, digitalsecurity cameras, and advanced features such as security, remote user interface
andqualityofservice.
Thereare variousdevicecontrol protocolssuch asInternet Gateway Device (UPnP IGD), Audio
andVideo(UPnPAV,uponwhichDLNAispartiallybased),RemoteAccess(UPnPRA)andDevice
Management(UPnPDM).
For more information, UPnP Forum has published a UPnP white paper in September 2010
[UWP
].
UPNPREMOTEACCESS OVERVIEW
Remote Access to UPnP Networks enables a remote UPnP device or UPnP control Point to
connect to the home or small business network and interact with the UPnP device or control
point physically attached to the home or small business network. During this process it is
expectedthattheremoteuserwillexperiencetheremotedevicebehavingin asimilarwayasin
the home network. In practice, the overall user experience will be degraded due to the
limitations induced by external factors, such as network latencies and bandwidth, but
neverthelesstheremotedevicewillhavetogotothesamesteps(e.g.IPaddressing,discovery,
description,control,eventing)asanyUPnPdevicepresentinahomeorsmallbusinessnetwork.
RemoteAccessarchitectureundertakestheprovisionsneededinordertominimizetheadverse
effects of the internal and external factors and bring the remote user experience as close as
possibletotheoneavailableinthelocalareanetwork.
UPnP®RemoteAccess—
7
Inahome(orsmallbusiness)tohome(orsmallbusiness)scenariotwonetworksareconnected
witheachotherviatheremoteaccessgatewaydevices.Thisallo wsservicesanddevicesofone
hometobeaccessibletoservicesanddevicesofanotherhomeandviceversa
A typical Remote Access scenario that connects two home or small business networks is
depicted in the above figure, where we have two gateway devices that connect two home or
small business networks. A gateway in a home or small business network connects to the
internet via an access network and establishes a remote access connectio n with a remote
networkviapublicinternetbackboneandthroughthegatewaylocatedintheremotenetwork.
There are cases when, due to various reasons, the gateway cannot establish remote access
connectionbyitselfanditneedsthehelpofsomesupportservicesthatcanbehostedintheISP
networkorcanbehostedintheinternetbya3rdpartyserviceprovider.
In this environment, it is highly probable that one or more of the intermediate network
elementsdeployingNATandfirewalltechniqueswillbreaktheendtoendconnect ivitybetween
UPnP®RemoteAccess—
8
thedevices.Generallyspeaking,theproblemsintroducedbyNATboxesarewellunderstoodand
protocoldesigners havecreated builtincapabilities to transverseseveral NATs on the initiator
side. However,on the receiving side, things are morecomplex and hosts behind NATs are not
abletoacceptconnectionswithoutsupportfromsome3rdpartysupportserviceslocatedinthe
public internet. The remo te access specifications have considered these factors and provided
recommendationsfordeploymentwhennetworksarebehindNAT.
UPNPREMOTEACCESS USE CASES
Therearemanyexamplesofusecaseswhereremoteaccessisneeded.Hereisanexampleuse
caseforconnectingtwohomenetworksthroughremoteaccess:
- Bob would like to share his child’s latest photos with Alice. Bob and Alice’s home
networks are connected through UPnP remote Access mechanism. Alice discovers
desired content on Bob’s med ia server. Alice selects her TV as a media renderer and
plays a slide show on her TV using content sourced from Bob’s media server. The
remoteaccessconnectionbetweenthetwohomesissetupusingUPnPRemoteAccess
Server(RAS) locatedin eachhome and devices inonenetwork seedevicesin another
network.Thesetofdevicesthatarevisibleina remotenetworkaresetbyestablishing
filtersineachRAS.


UPNPREMOTEACCESS ARCHITECTUREPARADIGM
TheRemote Access Architectureenvisions recreatingthe UPnPexperiencefordevices thatare
not physically attached to the home network. There are two concepts that make this vision
possible: a transport channel, which provides the security for UPnP Device Architecture
UPnP®RemoteAccess—
9
protocolsand forany associatedprotocols thatare used in the context ofvariousDCPs,and a
DiscoveryAgent,whiche nables a UPnP device orservicetobevisibleinaremotelocationand
controlsthevisibilityofthesedevicesaccordingtosomefiltersconfiguredbythehomeowner.
RemoteAccessArchitectureParadigm
TheexperienceprovidedbytheRemoteAccessArchitecturetoaRemoteDeviceissimilartothe
oneencounteredinhome,withcertain limitationsduetothe available bandwidthonthepath
between the remote device and the home network. The figure above shows how a home
networkorsmallbusinessnetworkareconnectedtoaremotedeviceandhowadiscoveryagent
makes devices and services visible. The remote device in the fi gure can represent a Remote
Accessserverresidingintheremotenetwork.
UPNPREMOTEACCESS COMPONENTS
The figure below illustrates the set of components which enable two home networks or small
businessnetworkstoconnecttoeachotherviatheRAS(RemoteAccessServer)devices.ARAS
isthepeerphysicaldevicelocatedinahomenetworkorsmallnetworkthatexposestoanother
RASinaremotehomenetworkorsmallnetworktheUPnPdevicesandservicesavailableinthe
physicalnetwork.
UPnP®RemoteAccess—
10
RemoteAccessComponentsforConnectingTwoHomeNetworksorSmallNetworks
The Remote Access Secure Channel can be implemented using different mechanisms. The
Remote Access Transport Agent (RATA) provides the secure communication channel between
thetwohomenetworksorsmallnetworks.TheRATAparametersandoptionsareconfiguredby
the remote access administrator via the RATAConfig service. A RATA may support multiple
transportmechanisms,e.g.IPsec,TLS,etc.
The InboundConnectionConfig service allows the remote access administrator to verify if the
RAS is reachable and to configure the settings that will allow the Remote Access Client to
establishaRATAconnectiontotheRAS.
ThefunctionalityoftheNetworkImageAggregatorisprovidedbytheRemoteAccessDiscovery
Agent (RADA) device together with the associated RADA Listener and RADA Relay
functionalities.TheRADAListenerisacontrolpointthatisconstantlymonitoringtheUPnPSSDP
messages in the local network allowing it to detect when devices are joining and leaving the
networkorwhentheyarechanging status.AllchangesdetectedbytheRADAListenerarefeed
totheRADA.
UPnP®RemoteAccess—
11
TheRADAhastwocomponents:theRADASyncserviceandtheRADASyncControlPoint.Therole
oftheRADASyncistoactasasynchronizationsinkallowingaRADASyncControlPoint,actingas
asynchronizationsource,topushnetworkimageinformationaboutaremotenetwork.Thisisa
oneway sync process and in order to synchronize both network endpoints there is a need for
two RADASync relationships, one form each direction. The synchronization process may be
asymmetric and is determined by the filters that are configured by the remote access
administratorviatheRADAConfigservice.
A local RADA is informed about the status changes in a UPnP remote network by the
corresponding remote RADA. Those changes are notified to the RADA Relay that is
reconstructing the original UPnP SSDP messages, which were sent by theremote devices. The
RADArelaythendistributesthesemessagesintothelocalnetwork.Additionally,theRADARelay
willrespondonbehalfoftheremotedevicestoSSDP queriesissuedinthelocalnetwork.
The multicast domain separation is done by the routing module that prevents the UPnP
multicasttraffictotravelinsidetheremoteaccesssecurechannelprovidedbyRATA.
CONNECTIONESTABLISHMENTBETWEENTWOHOMEOR SMALL BUSINESSNETWORKS
In order to connect two home or small business networks through RAS, the connecting RAS
needstoknowtheinformationoftheremoteRASincludingtheIPaddress,securityassociation
etc. This sharing information can be stored in a Remote Access Application Server (Remote
AccessAS)managedbytheserviceprovider.
1. WhenUser1wantstosharehishomewithanotherUser2,theRAS1inuser1’s
networkwillupdatesharingrulesintheRemoteAccessSharingRulesServer.Theonly
neededinformationisUser1shareshishome touser2
2. Onconnection,RAS2retrievesinformationfromtheRemoteAccessAStoknowif
someonesharestheirhomewithUser2.
3. BasedontheSharingRulesUser2 establishesaRemoteAccessSessionwithUser1
UPnP®RemoteAccess—
12
RemoteAccessAS could beapresence server inSIP/IMS applicationora webserverbased on
HTTPmechanism.Thereareseveralmechanismsthatcanbeusedtosetupconnectionbetween
twoRAS.ThefirstapproachistouseSIPtoestablishtheconnec tionbetweentheRASusingthe
IMS network [ETSI ES 282 001 (2009)] , the second approach is to use SIP by passing RATA
parametersbetweentwoRAS,andthethirdapproachiswhereaconnectioncanbeestablished
overthetop.Thedeploymentmodelshould takecareofthesedifferentapproaches;aRemote
Access Product could be only compliant with one, two or three connection establishment
solutions. In addition to these scenarios, the solution will take care of the different profiles
available between the different homes IPsec VPN, OpenVPN or without VPN. To be able to
manageakindofinterope rabilitybetweendifferentsolutionsandaserviceprovider’sroadmap
(IMS and / or IPv6 deployment), a Remote Access Product should be compliant with the
differentconnectionestablishmentsolutions.
The Connection Establishment Agent in a RAS enables the local RAS to locate the remote RAS
acrossaWAN.TheConnectionestablishmentofRAdevicesovertheWANenablestheexch ange
of security parameters and credentials needed to successfully establish a remote access
connection.Theconnectionestablishmentinteraction is a handshake inwhichtheinitiati ngRA
device(RASorRAC)makesan‘offer’whichincludestheUPnPRAsecurityprofilessupportedby
thatdevice.Theprofilesinclude:IPSec based on certificatesprofile, IPSecbasedonsharedkey
nullpolicyprofile,IPSecbasedonsharedkeyadvancedpolicyprofileandOpenVPNprofile. The
receivingRAdevice(RAS orRAC)makesaselectionofoneoftheprofileswhichwillbeusedto
establishtheRAtunnel.ThisinteractionisshowninFigurebelow.
HandshakeandConnectionbetweenRADevicesovertheWAN
ThehandshakeinteractioncouldalsoimplementamodelwherebytheinitiatingRAdevicesends
to the receiving RA device a set of parameters with which it would like to establish a RA
connection.Ifthereceivingsideacceptstheseparametersthesecuretunnelwouldthenbeset
upbasedontheseparameters.
UPnP®RemoteAccess—
13
FILTERINGOFDEVICESEXPOSEDTOTHEREMOTENETWORK
The remote access specif ications provide mechanisms to setup a filter which controls which
devices will be exposed or will not be exposed to the remote network. This is device level
filteringwhichisperformedbyUPnPactionsexposedbythe[RADAConfig]servicespecification.
The latest publication of the remote access specifications has also introduced the concept of
virtual device in order to allow setting filters even at the service level. A virtual device
representsaunifiedviewofservicesanddevicestobeexposedtotheremotenetworkundera
singledevice description. To the remote network thevirtual deviceis representedas aregular
device with its own device description, however, in reality the device description includes a
composition of services and devices from multiple devices into the local network that are
transparent to the remote network. In contrast to the filtering mechanism which allows only
configuring devices or services for each device to be exposed to the remote network with its
owndevicedescription, thevirtual device can beusedto exposeonly the virtualdeviceto the
remotenetworkwithoutallowingtheremotenetworktocomprehendactualdevicesinthelocal
network. In the virtual device scenario,the remote network only sees a single device (i.e., the
virtualdevice)withsomeservicesthattheremotedevicecanaccess.
RESOLVINGADDRESSCOLLISION
Whentwohomeorsmallbusinessnetworksareconnectedviaaremoteaccessconnection,a
routingproblemariseswheneverthenetworksthatarebeingconnectedhavethesameLAN
subnetaddressspace.Thisisbecauseallclientsinthelocalnetworkwouldseethatallremote
serversthatareadvertisedasbelongingtothelocalnetwork.Thesameholdstrueforallclients
intheremotenetwork.
192.168.1.3
192.168.1.5
192.168.1.1
192.168.1.1
192.168.1.3
Remote Home Network Access Network Local Home Network
Remote Access Connection
AddressSpaceCollisionProblem
UPnP®RemoteAccess—
14
Thereareseveralapproachestoresolvethisproblem.Thefirstapproachistorandomizethe
privateIPaddressallocation.Thisisacollisionavoidanceapproach.InsteadofHG’salwaysusing
amanufacturerdefaultfortheLANaddr ess,eachHGshouldusearandomizingfunctionto
chooseaprivatenetworkatfirstoutoftheboxboot.Alternatively,UPnPIGDcanbeusedto
performaonetimerandomize.
Thefollowinganalysispresentshowwellthiscollisionavoidance
techniqueperformsforthetypicalRAStoRASusecase.Assumingthatahomerequiresatmost
30host/devicesandtherefore5addressbitsarerequiredforeachhome,sucharandomizing
functionwouldusethefollowingRFC1918addressspaces:
19bitsinthe10/8prefix(520200address),and
15bitsinthe172.16/12prefix(32768addresses),and
11bitsinthe192.168/16prefix(2048addresses.
Thisgivesatotalof555,016distinctprivatenetworkaddresseseachofwhichcansupport30
hosts.
Thesecondapproachtoresolveaddresscollisionproblemistouseaddresstranslation
approach.TheIPaddressesusedinonehomenetworkthatcollidewiththeIPaddressesbeing
usedinanotherhomenetwork,willbetranslatedtoadifferentaddressspace.Thistranslation
willbedonebytheAL G(ApplicationLayerGateway)incorporatedintotheRATAandactivated
onlywhenacollisionisdetected.IftheRADAdetectsacollisionofthelocaladdressspacethen
theRADAchoosesanaddressspacethatisdifferentfromtheonebeingusedintheother
networksthatareconnectedthroughtheremoteaccesschannel.TheALGdoestheaddress
translationfortheRADAtothenewlyselectedaddressspaceafterdetectionofaddress
collision.Itisrecommendedthatafterselectinganewaddressspace,theRASshouldcheck
againwhetherthereisanaddresscollision.ItisalsopossiblethattheALGcanresideonlyinone
sideofthenetwork.
Thethirdapproachistotr ansitiontoIPv6.Itmustbenotedthatthisproceduredoesnot
eliminatethepossibilityofaddressspacecollisionsbutwillleadtoasituationwhere,inpractice,
itwillbehighlyunlikelythattheaccessnetworkandhomenetworkwillbesharingthesame
addressspace.ThetransitiontoIPv6willeliminatetheproblemofaddressspacecollision.
REMOTEACCESS DEPLOYMENTWITHNAT
The Network Address Translation (NAT) has been deployed by some Service Providers to deal
withtheIPv4address.NATsaredeployedinrouters andhelptoreducetheIPv4addressusage
by supporting multiple devices behind a single public IP address.It allocates private IP
addresses[RFC1918]tothesedevicesandmanagesthedynamic translation/mappingbetween
the internal and external IP addresses / ports.These dynamic address translations create a
UPnP®RemoteAccess—
15
problem for a remote access server that tries to establish a connection to another remote
access server because the “external” IP addresses / ports to the remoteaccess server may no
longerbestatic.
There are a variety of NAT implementations available in the markettoday.Description of the
NATbehaviorsareoutsidethescopeofthisdocumentbutadetaildescriptionofNATbehaviors
areavailablein[RFC4787].ThefollowingNATbehaviorsareaddressedinthisremoteaccess:
EndpointIndependentMapping(alsoreferredtoasFullConeNAT)
AddressDependentMapping(alsoreferredtoasRestrictedCone)
AddressandPortDependentMapping(alsoreferredtoasPortRestrictedNAT)
(Unique)AddressandPortDependentMapping(alsoreferredtoasSymmetricNAT)
Thefollowingtechniquesareconsidered:
DynamicDomainNameSystem(DNS)update[RFC2136]
DomainNameSystemResourceRecordforLocationofServices(DNSSRV)[RFC2782]
SessionTraversalUtilitiesforNAT(STUN)[RFC5389]
TraversalusingrelaysaroundNAT(TURN)[BEHAVE TURN]
ConnectionReversalmechanismforestablishingaP2Pconnection[RFC5128]
HolePunchingmechanismforestablishingaP2Pconnection[P2PCom]
The table below summarizes the use of the above techniques and combination of these
techniques to help establish a connection between a client (e.g., local RAS) and a server (e.g.,
remoteRAS)inthepresenceofthevariousNATpermutations:
UPnP®RemoteAccess—
16
CONCLUSION
This white paper described the key new features and functionalities addressed in the Remote
Access Version 2 Specifications published in August 2011. The published specifications are
availableforimplementersathttp://upnp.org/specs/ra/ra2
.Thekeyfeaturesaddressedbythe
specificationsinclude
RemoteAccessconnectionbetweentwohomeorsmallbusinessnetworks
o Enables devices or services in one network to access devices or services in
anothernetwork.
Enhancedfiltering
o Enablestosetfiltersaboutwhichdevicesandservicesaretobeexposedtothe
remotenetworkbyintroducingvirtualdevicedescription.
AddressCollisionResolution
o Approaches to resolve address collision when connecting two networks by
remote access connection including address randomization and address
translationmechanisms.
ProvisioningofRemoteAccessConnection
UPnP®RemoteAccess—
17
o Severalapproaches includingaserviceproviderbasedmechanismtoprovisiona
remoteaccessconnectionbetweentwonetworks.
Thefuturedirectionofthisworkmayincluderemoteaccessconnectioninmultihomeormulti
networkenvironments,theimpactofIPv6transitiononremoteaccess,etc.
JOINUPnPFORUM
UPnPForumisopentoanycompanyinterestedinmakinghomeorofficenet workingeasyforusers.
UPnPForumseekstofacilitateseamlessconnectivityofdevicesandsimplifynetworkimplementation
inhomeandsma llbusinessenvironments.Towardthisend,UPnPForumMembersworktogetherto
defineand publishDeviceCont rolProtocols(DCPs)builtuponopen,Internetbasedcommunications
standards.UPnPForumofferstwolevelsofmembership—basicandimplementer,cateringtoavariet y
ofmemberneeds.
BasicMembershipoffersthefollowingopportunitieswithnoannualfee:
Leadership.De sig nanddrivethedevicedescriptionsforyourindustry'sproductsandservices
andtheproductswithwhichtheywillinteract.
Leverageyourassets.Ensurethatyourlegacyproductsandnewproduc tscantalkand
interactdynamicallyonUPnPnetwork.
Learnmo re .GainabroadunderstandingofUPnPForumtechnologyanditsopportunitiesfor
yourproductsandindustry.
LeverageForummarketdevelopment.GainaccesstoUPnPForumeventsincludingPlugfest
compatibilityworkshops,UPnPForumPartnerPavilionsatmajortradeshows,useoftheUPnP
ForumMemberlogo,andpublicrelationssupport.
Findpartners.Interactwithandleveragetheresourcesofthelarge,diversegroupof
organizationsactivelycreatingandinvestinginUPnPForumtechnology.
UPnPForumcertificationprocessisopentovendorswhoare Implementerleve lmembersofUPnP
ForumandhavedevicesthatsupportUPnPForumtechnology.Theannualfee forimplementer
membershipinUPnPForumisUS$5,000. 
ImplementerMembersenjoyallthebenefitsofBasicMembersandthefollowingadditionalbenefits:
AccesstotheofficialUPnPCertificationtesttoolandabilitytotestdevicesforUPnP®
Certification.
Specialassistanceinobtainingtechnicalsupportfromthetesttoolproductsupportteam.
UPnP®RemoteAccess—
18
Licensetothe UPnP®CertificationMarkfordisplayoncertifiedproductsandassociated
productmarketingcollateral.
Abilitytoincludethe membercompany’scertifieddevicesintheonlinelisting ofcertified
devices.
SteeringCommitteeMembersprovidesUPnPForumleadershipandbusinessdirection,while
delegatingtosevera ltechnicalworkingcommitteestoidentifyan ddefineUPnPservices,device
controlsandprotocols(DCPs)andusagescenarios.MembershiptotheSteeringCommitteeisby
electionwhichisopentoanyImplementMember.Currently,theUPnPForum SteeringCommitteeis
composedofrepresentativesfromthefollowingcompanies:

FormoreinformationaboutjoiningUPnPForumoraboutcertifyingyourproduct,visit:
http://www.upnp.org
.Sendquestionsofan administrativenaturetoUPnPForum
withthetext“UPnPAdministrationRequest”inthesubjectlineofyour
message.
Contact
Dr.AlanMesser
PresidentandChairman
UPnPForum
+15036195223