Skip to content

OpenTollGate/tollgate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tollgate-logo

TollGate enables WiFi routers to accept Bitcoin payments for internet access. This allows users with a router and an internet connection to operate as internet service providers. One of the reasons mesh networks haven't been widely adopted is that infrastructure operators didn't have a simple permission-less way to transfer the operating cost of the infrastructure to its users. Thanks to Bitcoin + e-cash, TollGate operators can transfer the cost of their internet gateway to the users of their access point in a granular manner.

TollGate Protocol

You can find a draft of the TollGate protocol (split up in multiple TollGate Implementation Possibilities) here

TollGate network

The image above shows what a network built out of independently operated TollGates looks like. The is be somebody that connects a TollGate to their a ISP and then the TollGate starts reselling that connection. Other TollGates can buy access and extend the network without having to ask for permission or know who the initial operator is. This can continue as many levels deep as the market will find to be efficient. Anywhere in the network, consumers can do the same thing to purchase internet access on their personal devices. The only difference between the consumer app and another TollGate is that the consumer device most likely won't resell the connection.

Components that make up TollGate

TollGate software is not just one app or component, but is made up out of several services that each handle their own specialized task. Together it forms the TollGate ecosystem. The communication between some of these components will be the TollGate protocol, but it's still to early to solidify it.

TollGate Repositories

The TollGate ecosystem consists of four main projects:

  • tollgate-protocol: The open protocol definition that standardizes how TollGate components communicate. Currently housed in this repository under the 'protocol' directory, but will be moved to its own dedicated repository.

  • tollgate-core: The reference implementation of the TollGate protocol specifically designed for OpenWRT routers. Currently referred to as tollgate-module-basic-go, this component contains the core functionality needed to implement the TollGate protocol.

  • tollgate-os: A ready-made OpenWRT image with all necessary components pre-installed. This allows you to transform supported routers into fully functional TollGates without much manual configuration.

  • tollgate-installer: A tool made to simplify the process of flashing TollGateOS onto new routers, making deployment accessible for users of varying technical backgrounds.

The project is currently undergoing significant architectural improvements thanks to new possibilities that nostr brings to the table. The new architecture of TollGate is introduced here. When you modify one of the above modules, the module is package by an SDK and pushed to blossom in a github action. You can later use the imagae builder to generate an OpenWRT image for the actions.

Benefits

Benefits for users:

  • Sharing Costs: Communities can share the cost of running internet infrastructure. TollGates that resell access to this gateway expand the network geographically outwards from the gateway - thus increasing the purchasing power that the network can present to it.
  • Reliability and bandwidth: users and/or TollGate operators who are concerned about the reliability of multi-hop internet connections can use multi-WAN to create redundancy for themselves and their users. Multi-WAN also allows TollGates to aggregate bandwidth from multiple gateways, thus giving them the ability to deliver faster internet than individual legacy ISPs provide.
  • Privacy: Internet service provision typically involves certain regulatory compliance requirements regarding user data collection and retention. TollGate's distributed architecture naturally shifts operational responsibilities to individual network participants. The ability to process micro-payments through e-cash enables granular service delivery without requiring identity verification. This architecture, combined with frequent small transactions, can help preserve user privacy while maintaining network functionality.

Opportunity for TollGate operators:

  • Arbitrage: a TollGate that succeeds in connecting the non KYC network to a cheaper gateway benefits from an arbitrage opportunity and further lowers the price of internet access on the non KYC network.
  • Global services: TollGate operators can sell access to the local network globally, thus enabling a market for IP addresses that otherwise wouldn't be available on the traditional VPN market.

Effect on legacy internet service providers:

  • Loss of moat: ISPs that offer fiat/KYC contracts for unlimited data would need to adjust their offering to a per GB based model in order to remain competitive and to throttle the growth of TollGate based ISPs.
  • Fewer contracts sold: since multiple users share a single contract legacy ISPs can expect to see a drop in sales and a rise in data usage from the contracts that remain.
  • Increased competition for users: many Bitcoin miners run at a loss, because there is nothing stopping a miner who sees opportunity from participating in the market for hash-rate. Our goal is to ensure that nothing can stop TollGate operators from participating in the market for connectivity, thus delivering a close to optimal outcome for the user.
  • Decreased competition for limited spectrum: since users can access their neighbour's routers, they no longer need to operate their own in areas where the spectrum is congested. This enables everyone to get a better throughput, because less can be more on a shared medium.

Project Timeline

📅 2012 💡 Initial idea of paying neighbouring routers for higher bandwidth via multi-wan
📅 Mid 2024 🧪 Early proof of concept by pasting ecash in captive portal password field
📅 Late 2024 🔄 Introduced golang / nostr to the routers
📅 April 2025 📝 First protocol draft

FAQ

General

What is an ISP?

ISP stands for Internet Service Provider. ISP's are companies that provide your home with internet access and charge a monthly fee for it. For example: Comcast, Verizon and AT&T ar all ISP's.

Can I share my internet plan with my neighbors?

Yes, if you operate a TollGate, your neighbour can connect to your TollGate instead of their own ISP's access-point.

Risks

Is TollGate safe to use?

TollGate networks are public/open WiFi networks, like the ones you find in hotels and airports. These kind of networks have risks associated to it and we recommend always using a VPN when using public networks. Additionally, TollGate development is still in very early stages and the project still changes a lot. We cannot make any promises about security and privacy at this point in time.

Using TollGate

Is TollGate free?

The software we publish is free and open-source, meaning you will not be charged for the use of TollGate software. However, the independent TollGate operators (the people providing the access-points) will charge you as the user for their services. The price they set it not controlled by the TollGate open-source project.

Operating a TollGate

What is TollGateOS?

TollGateOS is a version of OpenWRT that has all software included that is needed to turn a router into a TollGate.

How can I operate a TollGate?

We provide TollGateOS images which you can install on our supported routers. Other routers may work but we do not currently test for those.

Which hardware is supported?

Currently TollGateOS is compatible with:

  • GL.iNet MT-3000

TollGate's long-term aim is to support many OpenWRT compatible routers.

Is it legal to operate a TollGate?

This depends a lot on the jurisdiction you are operating the TollGate in. In some countries/regions you might take liability for the traffic that runs through your TollGate, be sure to check your local rules and regulations. Additionally, check your ISP's Terms & Conditions for any rules around reselling internet access.

It is your own responsibility to handle local rules and regulations, we cannot assist you with that.

Additional reading

Note: New articles will be added over time to reflect the latest developments in TollGate. The date indicates when each guide was last modified to ensure you're reading the most current information.

Events

Feel free add events to the list via pull request if you plan to present TollGate somewhere.

Fixed TollGate Deployments

  • Village in Austria

Planned TollGate Deployments

  • Cafe in Canada
  • Kakuma Camp
  • Madeira
  • El-Zonte

Events that have TollGates in 2026

  • FOSDEM - 31.01.2026 – 02.02.2026, ULB Campus Solbosch, Avenue Franklin D. Roosevelt 50, 1050 Brussels, Belgium
  • TechFurMeet - 12.02.2026 – 16.02.2026, 538 25 Horní Bradlo-Nasavrky, Tschechien
  • Handycon - 04.03.2026 – 06.03.2026, Remote
  • Madeira Bitcoin Meetup - 25.03.2026, Cowork Funchal, R. das Mercês 41, 9000-224 Funchal, Portugal
  • Wireless Community Weekend - 15.05.2026 – 17.05.2026, c-base, Rungestr. 20, 10179 Berlin
  • btc++ Nairobi - 17.06.2026 – 20.06.2026, Pride Inn Azure, Nairobi, Kenya
  • Adopting Bitcoin Nairobi - 23.06.2026 - 24.06.2026, Near Afribe Kbera - a place with lots of Bitcoin adoption
  • DWeb Berlin - 08.07.2026 - 12.07.2026, Kluckstraße 25, Berlin
  • btc++ Berlin - 01.10.2026 – 03.10.2026, w3 hub, Berlin, Germany
  • Nostr Hackday - 04.10.2026, Probably c-base
  • Dark Prague - 02.10.2026 – 04.10.2026, Stará čistírna odpadních vod 1906 Praha - Bubeneč
  • Battlemesh v18 - 07.09.2026 – 13.09.2026, Rural Lika region, Croatia (LikaNet project area)

Unconfirmed

Events that had TollGate deployments in 2025

Contributing

We welcome contributions! Feel free to reach out on nostr, on signal or in person.. Endorsements on nostr, the TollGate echo chamber :)

TollGate Repositories

The following repositories are currently part of TollGate:

Actions

Modules

Decomissioned

UNLICENSE

This is free and unencumbered software - see the UNLICENSE file for details.

About

Documentation on TollGate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors