# How to use the Basic/Standard Plans

{% stepper %}
{% step %}

### [Install WireGuard](https://qubitvpn.gitbook.io/qubitvpn-docs/how-to-use/install-wireguard)

{% endstep %}

{% step %}

### Sign into the [dashboard](https://dashboard.qubitvpn.com/)

After your VPN Server is created, we will email you letting you know that your VPN Server is ready. Go to the [dashboard](https://dashboard.qubitvpn.com/) and log in using the same contact email you purchased with.

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2F84Lusnm2hUoz3pQX2a8a%2Fimage.png?alt=media&#x26;token=574bb8a3-b115-4e93-a6c2-b80a5b804f10" alt="" width="373"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Verify Email

You will receive an email from **Cloudflare** with the Subject **"Cloudflare Access login code for dashboard.qubitvpn.com"** with a verification code, please enter that code in the dashboard.

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FH6r0lggl3VVntqpP5tkg%2Fimage.png?alt=media&#x26;token=99218849-039a-4cf5-b1c9-8bba20a079d4" alt="" width="363"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### You're in the portal!

You can use this portal to access your WireGuard client profiles/tunnels (using "Client Access") or manage tunnel forwarding (using "Ports Manager").

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2Fy6AMixLZ1zc0ZMjo4Zbc%2Fimage.png?alt=media&#x26;token=265e059d-c6d2-4673-9b0f-080716a8817d" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Open Client Access

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FV6x2chmhs9q1eyaiFriW%2Fimage.png?alt=media&#x26;token=a62b71c4-3b03-4e15-870a-19da50db3a37" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Sign into your Client Access panel

In the email that was sent notifying you that your server is ready, you will have temporary login credentials, please use those credentials to log in here. This is your contact email and a temporary password.

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FMtUrf6dB06qYahaCUoWP%2Fimage.png?alt=media&#x26;token=9485f0a9-c14c-4c3a-9d06-6926643295da" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Multi-Factor Authentication

Scan the QR Code on your phone (if you are logging in from your phone, click the link instead).

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FugBsavBpZSRUC05MtbHc%2Fimage.png?alt=media&#x26;token=2f791214-0a27-4cec-832e-2f8b63e3ebf2" alt=""><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### Connect to VPN Profile/Tunnel

Press Connect <i class="fa-turn-down">:turn-down:</i>

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FXefju90OnVTOVapu1lxN%2Fimage.png?alt=media&#x26;token=f8437e8a-6a20-48d7-8ac9-4baecc3bd859" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Scan QR Code or Download

You may either scan the QR Code within the Android/iOS WireGuard App or click Download to import it into either the WireGuard mobile app or Windows/Mac App.

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FBV0xJAs1d5Uk7A45wFNy%2Fimage.png?alt=media&#x26;token=3910e935-0760-4096-a74e-430cf799cbc5" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
If you chose to Download the configuration file, please upload it to the WireGuard App. If you are on a computer, click "Import tunnel(s) form file". If you are on a phone, click "Create from file or archive". Your popups may look different than the examples below.

![](https://splicate.my.canva.site/how-to-use-wireguard-with-qubitvpn/_assets/media/737a8424714273cb1fbb60deafd89e8d.png)![](https://splicate.my.canva.site/how-to-use-wireguard-with-qubitvpn/_assets/media/46b951efc0540498097edb5578288fa5.jpg)
{% endhint %}
{% endstep %}

{% step %}

### Tunnel forwarding using Ports Manager

Click "Ports Manager"

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FszKglRRPIqHfTtUFyNdt%2Fimage.png?alt=media&#x26;token=c969a6bd-051f-475c-8b46-dbcb8fb65662" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Add tunnel port forwarding rules

This is where you set port forwarding rules for your tunnel. This is the part that eliminates the need to port forward from your router. Think of this panel like the Port Forwarding tab on your router. (Note: Anything done here will NOT affect your router's port forwarding rules. This is completely separate, this is your VPN Server's port forwarding rules instead.)

{% tabs %}
{% tab title="IP" %}
In the IP field (the first box), enter the VPN profile/tunnel's IP. This is typically 10.0.0.2 or 10.253.0.2 but may vary. Check the profile/tunnel's configuration file.
{% endtab %}

{% tab title="From Port" %}
In the "From Port" box, enter the port you want people to connect to your service with.

For example, if the port you want exposed publicly is 1234, you would enter 1234 in the "From Port" box and users would connect to your service with vpnpublicip:1234.
{% endtab %}

{% tab title="To Port" %}
In the "To Port" box, enter the port you want the "From Port" to forward to. This "To Port" is the port on your computer/server that the service is running on.

For example, if the service on your computer/server is running locally on port 25565, enter 25565 in this "To Port" box.
{% endtab %}

{% tab title="TCP/UDP" %}
Most apps/services use the TCP protocol but some may use the UDP protocol. Check which protocol your service uses.

* Web servers use TCP
* Minecraft Java uses TCP
* Minecraft Bedrock uses UDP
* FiveM may use both TCP and UDP
  {% endtab %}

{% tab title="socat/iptables" %}
socat acts as a relay that receives a connection and forwards it so it appears to come from the local machine, while iptables forwarding passes traffic through directly, preserving the original sender’s IP address, provided it is properly configured on the tunnel device.

socat doesn't need any extra setup but all connections will seem as if they're local.

iptables will preserve the original connection IP but requires more setup on your computer/server.
{% endtab %}
{% endtabs %}

<div align="left"><figure><img src="https://1665844291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2w9Up9seZJlW6lHfRCt%2Fuploads%2FrDJzKjTx6dnXVPEfd5Wh%2Fimage.png?alt=media&#x26;token=067b3f0d-d2cb-4cf4-827b-277b332a651b" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### If you are tunneling a specific port (e.g. Minecraft Server)

If you are tunneling a specific port (e.g. Minecraft Server), allow the port as in incoming connection on your device [allow-incoming-port-connection](https://qubitvpn.gitbook.io/qubitvpn-docs/how-to-use/allow-incoming-port-connection "mention").
{% endstep %}

{% step %}

### Have fun!

You're set! Have fun! Contact us through live chat on our website ([qubitvpn.com](https://qubitvpn.com)) or email us at <support@qubitvpn.com> if you run into any issues or have any questions.
{% endstep %}
{% endstepper %}
