PhotonMark VPN LogoPhotonMark VPN

How To Use WireGuard or Hysteria2

This quick guide explains how to install a VPN client, import your PhotonMark profile, connect, and verify your public IP has changed.

If you are new to the service, start with the complete setup guide: Get Started

What You Need

Quick Steps

  1. Install the WireGuard app or a compatible Hysteria2 client.
  2. Import your WireGuard configuration file, scan the QR code, or import the HY2 URI/YAML profile.
  3. Enable the tunnel and check traffic is flowing.

Install WireGuard App

If you cannot access the Mac App Store, use the macOS ZIP package from our Download page. See FAQ steps.

Use Hysteria2

Open the Client Portal, copy the HY2 URI or YAML profile from your Hysteria2 instance, and import it into a compatible Hysteria2 client. If DNS does not look right after connecting, enable Fake DNS or remote DNS in the client settings, then reconnect.

Use On Mobile (iOS/Android)

Open WireGuard, tap plus, choose Import from file or archive (or scan QR), then turn the tunnel on. If sent or received bytes increase, the tunnel is working.

Use On Windows/macOS

Open WireGuard, click Add Tunnel, import your config file, then click Activate. Status should become active and transfer counters should move.

Use On Ubuntu (CLI)

If not installed:

sudo apt install wireguard

Bring up your tunnel:

sudo wg-quick up /path/to/your.conf

Verify IP Is Changed

Before and after connecting, check your public IP using an IP checker (for example https://www.myip.com/). If the address changes, your VPN route is working.

Troubleshooting

Open Client PortalOpen Download Page