{"id":23410621,"url":"https://github.com/tytan-codes/simplevpn","last_synced_at":"2025-04-09T03:30:36.561Z","repository":{"id":171399812,"uuid":"647888376","full_name":"Tytan-Codes/simpleVPN","owner":"Tytan-Codes","description":"The VPN Connect script simplifies OpenVPN connections and offers a user-friendly interface","archived":false,"fork":false,"pushed_at":"2023-05-31T18:50:31.000Z","size":8,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T21:54:56.162Z","etag":null,"topics":["collaborate","communityexchange","dashlane","ghdesktop","github","github-codespaces","github-pages","jetbrains","learn","microsoft","microsoftvisualstudio","openvpn","openvpn-client","openvpn-configuration","openvpn-server","student-vscode","termius","travis","tytancodes"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Tytan-Codes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-05-31T18:35:44.000Z","updated_at":"2024-05-19T12:36:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"39f2d5ce-efb7-4cf5-bd02-47f595e67d37","html_url":"https://github.com/Tytan-Codes/simpleVPN","commit_stats":null,"previous_names":["tytan-codes/simplevpn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tytan-Codes%2FsimpleVPN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tytan-Codes%2FsimpleVPN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tytan-Codes%2FsimpleVPN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tytan-Codes%2FsimpleVPN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tytan-Codes","download_url":"https://codeload.github.com/Tytan-Codes/simpleVPN/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247973163,"owners_count":21026606,"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":["collaborate","communityexchange","dashlane","ghdesktop","github","github-codespaces","github-pages","jetbrains","learn","microsoft","microsoftvisualstudio","openvpn","openvpn-client","openvpn-configuration","openvpn-server","student-vscode","termius","travis","tytancodes"],"created_at":"2024-12-22T17:40:15.648Z","updated_at":"2025-04-09T03:30:36.538Z","avatar_url":"https://github.com/Tytan-Codes.png","language":"Python","readme":"\n# simpleVPN :rocket:\n\nThis script allows you to easily connect to and disconnect from an OpenVPN server using a YAML configuration file.\n\n## Prerequisites\n\n- Python 3.x installed\n- `pyyaml` module installed (`pip install pyyaml`)\n- `sudo` access to run the script with administrative privileges\n\n## Installation\n\n1. Clone the repository or download the `vpn_connect.py` script to your local machine.\n\n2. Install the required Python module:\n\n   ```shell\n   pip install pyyaml\n   ```\n\n## Usage\n\n1. Create a YAML configuration file with the VPN details.\n\n   Example YAML file (`vpn_config.yml`):\n\n   ```yaml\n   USA:\n     path to file: /home/user/vpns/usa.ovpn\n     username: 118fcg0b10999b742796q7fd0551b77d\n     password: 0000000021dbc5ce8b4555d92d6wsc5f7a38079836e7e986\n   ```\n\n   Make sure to replace the placeholders with the actual values of your VPN configuration.\n\n2. To connect to the VPN:\n\n   ```shell\n   python vpn.py vpn_config.yml connect\n   ```\n\n   The script will read the configuration file and establish the VPN connection in the background.\n\n3. To disconnect from the VPN:\n\n   ```shell\n   python vpn_connect.py disconnect\n   ```\n\n   The script will terminate the OpenVPN connection.\n\n## Troubleshooting\n\n- If you encounter any errors while running the script, please ensure that you have the necessary permissions to run the script with `sudo`.\n\n- Double-check your YAML configuration file for any formatting issues. Ensure that the indentation is done using tabs (not spaces) consistently.\n\n## Contributing\n\nContributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftytan-codes%2Fsimplevpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftytan-codes%2Fsimplevpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftytan-codes%2Fsimplevpn/lists"}