{"id":15882647,"url":"https://github.com/pzim-devdata/vpn_autoconnect","last_synced_at":"2025-04-02T05:44:10.273Z","repository":{"id":184163731,"uuid":"671392628","full_name":"pzim-devdata/vpn_autoconnect","owner":"pzim-devdata","description":"A script to automatically connect to the VPN at startup (if you lauch this script at startup) and reconnect if connection is lost.","archived":false,"fork":false,"pushed_at":"2023-08-21T10:50:04.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T20:27:05.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pzim-devdata.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}},"created_at":"2023-07-27T08:05:00.000Z","updated_at":"2023-07-27T09:09:03.000Z","dependencies_parsed_at":"2023-07-27T10:46:52.195Z","dependency_job_id":null,"html_url":"https://github.com/pzim-devdata/vpn_autoconnect","commit_stats":null,"previous_names":["pzim-devdata/vpn_autoconnect"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzim-devdata%2Fvpn_autoconnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzim-devdata%2Fvpn_autoconnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzim-devdata%2Fvpn_autoconnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pzim-devdata%2Fvpn_autoconnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pzim-devdata","download_url":"https://codeload.github.com/pzim-devdata/vpn_autoconnect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763863,"owners_count":20829798,"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":"2024-10-06T04:06:00.149Z","updated_at":"2025-04-02T05:44:10.255Z","avatar_url":"https://github.com/pzim-devdata.png","language":"Shell","readme":"# VPNautoconnect.sh for Linux : Automatically connect to the VPN at startup and reconnect if connection is lost.\n\n[![GitHub license](https://img.shields.io/github/license/pzim-devdata/vpn_autoconnect?style=plastic)](https://github.com/pzim-devdata/vpn_autoconnect/blob/master/LICENSE)   [![GitHub issues](https://img.shields.io/github/issues/pzim-devdata/vpn_autoconnect?style=plastic)](https://github.com/pzim-devdata/vpn_autoconnect/issues)    ![GitHub repo size](https://img.shields.io/github/repo-size/pzim-devdata/vpn_autoconnect?style=plastic)    ![GitHub All Releases](https://img.shields.io/github/downloads/pzim-devdata/vpn_autoconnect/total?style=plastic)    ![GitHub release (latest by date)](https://img.shields.io/github/v/release/pzim-devdata/vpn_autoconnect?style=plastic)    [![GitHub commits](https://img.shields.io/github/commits-since/pzim-devdata/vpn_autoconnect/v1.0.0.svg?style=plastic)](https://GitHub.com/pzim-devata/vpn_autoconnect/commit/)\n\n[Download :inbox_tray:](https://github.com/pzim-devdata/vpn_autoconnect/releases/download/v1.0.0/VPNautoconnect.zip)\n\n## Description :\n\nA script to automatically connect to the VPN at startup (if you lauch this script at startup) and reconnect  every 5 seconds if connection is lost.\nThis updated version will also reconnect the wifi or ethernet card, if used, if connection is lost with a ping check\n\n![Presentation__gif](https://github.com/pzim-devdata/Tools-for-Linux/blob/master/VPNautoconnect/GifVPN)\n\n\n## How to install :\n\n\n\n1. Download the file \"VPNautoconnect.sh\" in a folder called `VPN` in your `Home` directory :\n\n```\ncd ~\ngit clone https://github.com/pzim-devdata/vpn_autoconnect.git VPN\n```\n\n2. Then open your Terminal in the folder where \"VPNautoconnect.sh\" is located and type :\n\n```\ncd ~\nchmod +x VPN/VPNautoconnect.sh\n``` \n\n3. Connect to the VPN at startup :\n\nIf you want to connect to the VPN automatically at startup :\n\n  - Execute `python3 ~/VPN/Create_autostart_entry.py`\n\nor\n\n   - Enter the address of the script \"VPNautoconnect.sh\" (which is `VPN/VPNautoconnect.sh` in this exemple)  in your favorite startup tool : like \"gnome-tweak-tool\" for Gnome or other startup applications for other desktop environment : https://winaero.com/blog/manage-startup-apps-linux-mint/\n\nReboot an enjoy ! :blush:\n\n\n-----------------------------------------\n\n\nIn bonus, you can [download 3 little scripts for Nemo or Nautilus](https://github.com/pzim-devdata/Tools-for-Linux/raw/master/VPNautoconnect/Scripts.zip) in order to connect or disconnect quickly and easily :blush:\nInstall them in this directory :\n\n- For Caja (Mate) in : ~/.config/caja/scripts.\n- For Nautilus (Gnome/Unity) in : ~/.local/share/nautilus/scripts\n- For Némo (Cinnamon) in : ~/.local/share/nemo/scripts/\n\n\n![](https://github.com/pzim-devdata/Tools-for-Linux/blob/master/VPNautoconnect/Image3.png)\n\n\n--------------------------------------------\n\n## - [Licence](https://github.com/pzim-devdata/DATA-developer/raw/master/LICENSE)\nMIT License\nCopyright (c) 2019 pzim-devdata\n\n--------------------------------------------\n\n## - [Contact :email:](mailto:contact@pzim.fr?subject=Contact%20from%20Github)\nCreated by [@pzim](https://www.pzim.fr/) - feel free to contact me!\n\n\n\n\n\n\n   \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpzim-devdata%2Fvpn_autoconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpzim-devdata%2Fvpn_autoconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpzim-devdata%2Fvpn_autoconnect/lists"}