{"id":16991954,"url":"https://github.com/alectrocute/heatsink","last_synced_at":"2025-04-15T15:58:46.628Z","repository":{"id":106113203,"uuid":"145158737","full_name":"alectrocute/heatsink","owner":"alectrocute","description":"🔥 Run a disposable VPN service (ubuntu/openVPN/NGINX/PHP/JS)","archived":false,"fork":false,"pushed_at":"2018-08-17T20:05:42.000Z","size":987,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T15:58:40.884Z","etag":null,"topics":["app","javascript","openvpn","php","roadwarrior","saas","service","vpn"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alectrocute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-17T19:26:14.000Z","updated_at":"2020-12-15T22:43:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3a69e43-e653-4858-92e0-5c358518723d","html_url":"https://github.com/alectrocute/heatsink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alectrocute%2Fheatsink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alectrocute%2Fheatsink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alectrocute%2Fheatsink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alectrocute%2Fheatsink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alectrocute","download_url":"https://codeload.github.com/alectrocute/heatsink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249105473,"owners_count":21213534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app","javascript","openvpn","php","roadwarrior","saas","service","vpn"],"created_at":"2024-10-14T03:27:53.180Z","updated_at":"2025-04-15T15:58:46.621Z","avatar_url":"https://github.com/alectrocute.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# heatsink\n🔥 Run a disposable VPN service (ubuntu/openVPN/nginx/PHP/JS)\n\n![logo](https://i.imgur.com/z4zD48V.png)\n\nScripts \u0026 code from Shards, Roadwarrior and Bootstrap included. Big thanks.\n\nheatsink is a service that allows you to run a disposable VPN service. It utilizes two VPSes, one to host the openVPN server (+ nginx to serve cert's and profiles) and another VPS to host the app website. The user goes to your domain, clicks on \"generate\" and has a disposable VPN account created for a specific amount of time.\n\nThe documentation here is flimsy at best and I haven't tested the steps. The code worked when I ran it originally but something may be broken. I highly advise you to know your way around PHP/Linux very well before using this repo. That may be a good thing, since you should probably know programming in order to run a VPN service... ;)\n\nI will update the code \u0026 readme soon. I lost the client-side nginx.conf file somewhere, which is kind of important (read below to see why).\n\n## Getting started\n- Familiarize yourself with all the files and code, it's quite simple.\n### openVPN-side\n- ubuntu 14-18.x VPS server\n- Upload repo's /server/ files to ~/root/\n- Make sure permissions are correct if not using root user.\n\n```\nsudo apt-get install build-essential\nsudo apt-get update\nsudo apt-get install php nginx\n```\n- Configure heatsink's `nginx.conf` to be the default configuration for nginx and restart the service.\n\n\n- Install dnsmasq\n```\nsudo apt-get -y install dnsmasq\nsudo systemctl restart NetworkManager\n```\n- Replace dnsmasq's config with heatsink's and drop `ads2.dnsmasq` in same directory.\n\n\n- Install openVPN server via Nyr's [Roadwarrior](https://github.com/Nyr/openvpn-install)\n```\nsudo bash ./openvpn-install.sh\n```\n\n## Client-side\n\n- ubuntu 14-18.x VPS server\n- Upload repo's /client/ files to ~/var/www/html/ (create directory if it doesn't exist yet)\n- Make sure permissions are correct if not using root user\n\n```\nsudo apt-get install build-essential\nsudo apt-get update\nsudo apt-get install php nginx\n```\n- Configure nginx to point wildcard subdomain requests to [domain]/?sessionIdentify=[subdomain]\n\n- Configure settings in serverconfig.php and home-session.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falectrocute%2Fheatsink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falectrocute%2Fheatsink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falectrocute%2Fheatsink/lists"}