Multihop
Last updated
Was this helpful?
Last updated
Was this helpful?
Multihop routing is a VPN configuration where the connection is routed through an intermediate server before reaching the main VPN server. Even if an attacker compromises one of the servers, they would still not have complete information about the source and destination of the traffic.
Here's a code snippet demonstrating how to set it up:
The key steps are:
Configure the with your carrier ID, extension bundle ID, group data, and Fireshield config.
Create a VirtualLocation
object representing the proxy server location. In this example, it's set to a location in the US.
Call hydraSDK.start()
, passing in the optimal server location and the proxy location.
Handle the completion to check for errors and confirm successful connection.
In virtual location routing, your traffic goes directly from your device to the VPN server in the chosen virtual location.
With multihop routing, your traffic first goes to an intermediate proxy server, then to the main VPN server in the optimal location.
The extra hop enhances security by making traffic harder to trace, but may slightly increase latency. Virtual location routing is simpler and can be faster, but provides one less layer of protection.
Multihop routing provides an extra hop compared to standard routing: