
You can load that file into your local WireGuard application to create a tunnel.

TL:DR įly's command line can generate you a tunnel configuration file with private keys already embedded. This is a flexible and secure way to plug into each one of your Fly organizations and connect to any and all apps within that organization. Private Network VPNĪlong with our 6PN private networking, WireGuard networking software. Names of all 6PN private networking apps in the same organizationĮxamples of retrieving this information are in the fly-examples/privatenet repository.
#App like private tunnel windows install#
If you want to get fancy, you can install dig and query the DNS directly. Since this is the default configuration we set up for instances on Fly, you probably don't need to do anything special to make this work if your instance shares an organization with an application called random-potato-45, then you should be able to ping6 random-potato-45.internal. Those addresses live under the synthetic top-level domain. But it's also aware of 6PN addresses, and, when queried from an instance, will let you look up the addresses of other applications in your organization. The DNS server on this address can resolve arbitrary DNS queries, so you can look up "" with it. Instances are configured with their DNS server pointing to fdaa::3. Discovering Apps Through DNS on an Instance

To do that, you'll use flyctl to generate a WireGuard configuration that is addressed with a 6PN address. You can connect applications running outside of Fly to your 6PN network using WireGuard for that matter, you can connect your dev laptop to your 6PN network. This connectivity is always available to applications you don't have to do anything special to get it. Those applications can talk to each other because of those 6PN addresses, but applications from other organizations can't the Fly platform won't forward between different 6PN networks. Fly apps are connected by a mesh of Wireguard tunnels using IPV6.Īpplications within the same organization are assigned special addresses ("6PN addresses") tied to the organization.
