{"id":24995947,"url":"https://github.com/fclairamb/tinc-deployment-package","last_synced_at":"2025-03-29T15:16:11.649Z","repository":{"id":22606022,"uuid":"25948194","full_name":"fclairamb/tinc-deployment-package","owner":"fclairamb","description":"Sample tinc deployment package","archived":false,"fork":false,"pushed_at":"2024-04-02T23:58:19.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T22:53:24.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fclairamb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-30T00:49:04.000Z","updated_at":"2014-10-30T01:07:10.000Z","dependencies_parsed_at":"2022-07-23T19:16:24.689Z","dependency_job_id":null,"html_url":"https://github.com/fclairamb/tinc-deployment-package","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/fclairamb%2Ftinc-deployment-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fclairamb%2Ftinc-deployment-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fclairamb%2Ftinc-deployment-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fclairamb%2Ftinc-deployment-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fclairamb","download_url":"https://codeload.github.com/fclairamb/tinc-deployment-package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200324,"owners_count":20739567,"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":[],"created_at":"2025-02-04T15:53:02.860Z","updated_at":"2025-03-29T15:16:11.633Z","avatar_url":"https://github.com/fclairamb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"TINC deployment package\n=======================\n\n# Introduction\nThe goal of this sample package is to simplify much of the hassle of tinc VPN deployment without compromizing the security.\n\nThe sample package is base layout for a VPN setup. It contains two tinc hosts:\n* server1 (172.16.66.10)\n* server2 (172.16.66.20)\n\n# How it works\nThe package makes the keys creation automatic.\n\nThe first time you will install the package, it will ask you:\n* For a name if your hostname is \"debian\" and use your hostname as the tinc hostname. Modify this if you want two.\n* The IP address you will want to attribute this hosts (it will display existing IP addresses first)\n\nOnce the installation is finished, you will be able to retrieve the generated public key with the given command.\n\n# Sample usage\nFirst you need to build the package:\n\n    make package\n\n\u003e Obviously, it's better to have it automatically built using something like jenkins and a signed repository.\n\nThen you deploy and install it, this is what the deployment will look like:\n\n    make deploy-remote TARGET=root@192.168.1.142\n    ls dist/package/*.deb || make package\n    dist/package/myvpn-vpn_0.1_amd64.deb\n    scp dist/package/*.deb root@192.168.1.142:/tmp/myvpn-vpn.deb\n    myvpn-vpn_0.1_amd64.deb                                                                                                                                                                                    100% 5360     5.2KB/s   00:00    \n    ssh root@192.168.1.142 \"apt-get install -y tinc ; dpkg -i /tmp/myvpn-vpn.deb\"\n    Reading package lists...\n    Building dependency tree...\n    Reading state information...\n    tinc is already the newest version.\n    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n    Selecting previously unselected package myvpn-vpn.\n    (Reading database ... 22160 files and directories currently installed.)\n    Unpacking myvpn-vpn (from /tmp/myvpn-vpn.deb) ...\n    Setting up myvpn-vpn (0.1) ...\n    Creating keys...\n    Existing IP addresses:\n    ======================\n    /etc/tinc/myvpn/hosts/server1:Subnet = 172.16.66.10\n    /etc/tinc/myvpn/hosts/server2:Subnet = 172.16.66.20\n    Please choose an IP address:\n    172.16.66.30\n    OK !\n    !!! PLEASE NOTE:\n    !!! ============\n    !!! Your host file is here:\n    !!! /etc/tinc/myvpn/hosts/vm\n    !!! scp root@192.168.1.142:/etc/tinc/myvpn/hosts/vm vm\n    Creating conf.d/00-name.conf\n    Restarting tinc daemons: myvpn.\n\nThen, you will want to retrieve this key. You will simply need to type:\n\n    scp root@192.168.1.142:/etc/tinc/myvpn/hosts/vm hosts/vm\n    \nAnd redeploy the key or the whole package to the other hosts.\n\n\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffclairamb%2Ftinc-deployment-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffclairamb%2Ftinc-deployment-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffclairamb%2Ftinc-deployment-package/lists"}