Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
- How to detect your own public IP when you are begind a NAT in a decentralized way
- Use random number of public STUN
- How to distribute the VPN config file and the credentials in a secure way
The solution is to put all the credentials needed for the VPN in a url of the form:
https://github.com/dappnode/generatecredentials.html#credentials=XXXXXXXXgeneratecredentials is a static web page that reads the credentials from the parameter url and generate & download the file for url configuration. It may also give the instructions of how to install the vpn in case the OS does not support it.
The URL of the page, can change acording to a smart contract managed by a DAO.
The credentials should contain all the info for connecting to the VPN