Rift Mode vs Portal Mode, and MP System

Updated on July 29, 2025

VeilNet Conflux supports two core operational modes:

  • Portal Mode (default) โ€” a gateway node

  • Rift Mode โ€” a client node

Each mode plays a specific role in forming secure, decentralized overlay networks.

ย 

๐Ÿ›ฐ๏ธ Portal Mode โ€“ Gateway Mode #

Portal Mode is the default mode in VeilNet Conflux. It enables the node to act as a gateway or exit node, forwarding encrypted traffic for other peers in the same plane.

๐Ÿ”‘ Key Characteristics: #

  • Requires “-p” flag

  • Creates a veilnet TUN interface and forwards traffic in or out from VeilNet

  • Acts as a gateway between VeilNet and real networks

  • Does not require public IP or any port forwarding for other Portals or Rift to connet with

๐Ÿ“ฆ Use Cases: #

  • Regional exit node (e.g., Australia, US, Europe)

  • Gateway for remote workers or Kubernetes clusters

  • Hosting internal services (e.g., private Git, DB, monitoring)

ย 

๐ŸŒ Rift Mode โ€“ VPN Mode #

Rift Mode is for devices that connect to the VeilNet network and use other nodes (Portals) for routing traffic. It disables forwarding and is meant for personal or internal use.

๐Ÿ”‘ Key Characteristics: #

  • Must not use flag “-p”

  • Connects to the VeilNet plane but do not forward traffic from VeilNet to real networks

  • Uses Portal nodes to reach the internet

  • Ephemeral, all related information will be deleted upon disconnect

๐Ÿ“ฆ Use Cases: #

  • Secure browsing over VeilNet

  • Remote access to infrastructure

  • Devices behind NATs or firewalls

ย 

๐Ÿ’  Participation Credit System (MP Credits) #

VeilNet uses a lightweight system called MP credits (Meaurement of Participation) to reward self-hosting and balance usage on the public plane.

ย 

โš™๏ธ How It Works #

๐Ÿ›ฐ๏ธ Portal Mode (-p flag): earns +1 MP credit per second while online in the public plane
๐ŸŒ Rift Mode (default): consumes โˆ’1 MP credit per second while connected to the public plane
๐Ÿ” Private Planes: MP credits do not apply โ€” usage is unlimited

ย 

๐ŸŽฏ Why It Matters #

You can use VeilNet for free as long as you host a Portal.
Your Portal may help forward traffic for others, just like others help you.
There is no billing โ€” MP credits are a simple participation metric.

ย 

๐Ÿง  Example Scenarios #

โœ… Solo Self-Host
+1 MP/sec from Portal
โˆ’1 MP/sec from Rift
Net = 0 โ†’ free usage

๐Ÿ›‘ Only Rift, No Portal
โˆ’1 MP/sec
You consume capacity from the public network

๐Ÿ“ก Only Portal, No Rift
+1 MP/sec
You contribute to the network โ€” others benefit

โš–๏ธ Two Portals, One Rift
+2 MP/sec
โˆ’1 MP/sec
Net = +1 โ†’ you’re a net contributor

ย 

๐Ÿ“Œ Notes #

๐Ÿ”„ MP is counted per second, not by traffic
๐Ÿงพ There is no monetary value or ledger โ€” this is not a digital currency
๐Ÿ•ต๏ธโ€โ™‚๏ธ No identity is tracked โ€” credits are associated with runtime of your conflux
๐ŸŒ This system only applies to public planes, not private deployments

As long as you self-host, VeilNet stays free, fair, and decentralized โ€” just the way the internet should be.