{"id":25232992,"url":"https://github.com/idowza/vpn-start","last_synced_at":"2026-05-05T07:31:21.036Z","repository":{"id":220895543,"uuid":"752867644","full_name":"Idowza/VPN-Start","owner":"Idowza","description":"Simple BASH script used to start Mullvad VPN while enabling split tunneling for specified PID's","archived":false,"fork":false,"pushed_at":"2025-12-06T03:08:42.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T19:25:41.889Z","etag":null,"topics":["bash-script","mullvad-vpn","split-tunneling","vpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Idowza.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-05T01:50:27.000Z","updated_at":"2025-12-06T03:08:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"7908b808-a5ee-41a3-95a5-6880a25ddde8","html_url":"https://github.com/Idowza/VPN-Start","commit_stats":null,"previous_names":["idowza/vpnstart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Idowza/VPN-Start","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idowza%2FVPN-Start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idowza%2FVPN-Start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idowza%2FVPN-Start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idowza%2FVPN-Start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Idowza","download_url":"https://codeload.github.com/Idowza/VPN-Start/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Idowza%2FVPN-Start/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash-script","mullvad-vpn","split-tunneling","vpn"],"created_at":"2025-02-11T13:55:56.141Z","updated_at":"2026-05-05T07:31:21.031Z","avatar_url":"https://github.com/Idowza.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VPN Start\n\nA Bash script to automate starting Mullvad VPN while enabling split tunneling for specific applications.\n\n## Description\n\nThis script is designed to streamline the process of connecting to Mullvad VPN on Linux systems. It automatically identifies running processes based on a user-defined list and excludes them from the VPN tunnel (split tunneling) before establishing the connection. It also handles graceful shutdown by disconnecting the VPN when the script is terminated.\n\n## Features\n\n- **Automated Split Tunneling**: Automatically finds PIDs for specified applications (e.g., Plex, SSH, Sonarr) and adds them to Mullvad's split tunnel.\n- **Auto-Connect**: Connects to Mullvad VPN after configuring split tunneling.\n- **Status Check**: Verifies and displays the connection status.\n- **Graceful Exit**: Disconnects the VPN when the script is stopped (e.g., via Ctrl+C or systemd).\n\n## Prerequisites\n\n- **Mullvad VPN**: The Mullvad VPN application and CLI must be installed and configured.\n- **Bash**: A standard Bash shell environment.\n- **Root/Sudo Privileges**: May be required depending on your Mullvad CLI configuration and permissions.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Idowza/VPN-Start.git\n   cd VPN-Start\n   ```\n\n2. Make the script executable:\n   ```bash\n   chmod +x VPNstart\n   ```\n\n## Configuration\n\nThe list of applications to exclude from the VPN is defined in the `VPNstart` script.\n\n1. Open `VPNstart` in a text editor.\n2. Locate the `EXCLUDED_PROCESSES` array:\n   ```bash\n   EXCLUDED_PROCESSES=(\n       \"vnc\"\n       \"plex\"\n       \"ssh\"\n       # ... add your applications here\n   )\n   ```\n3. Add or remove process names as needed.\n\n## Usage\n\n### Manual Execution\n\nRun the script directly from the terminal:\n\n```bash\n./VPNstart\n```\n\nTo stop the script and disconnect the VPN, press `Ctrl+C`.\n\n### Running as a Systemd Service\n\nThe script is designed to work well as a systemd service (daemon).\n\n1. Create a service file (e.g., `/etc/systemd/system/vpn-start.service`).\n2. Add the following configuration (adjust paths as necessary):\n   ```ini\n   [Unit]\n   Description=Mullvad VPN Start Script\n   After=network.target\n\n   [Service]\n   ExecStart=/path/to/VPN-Start/VPNstart\n   Restart=always\n   User=root\n\n   [Install]\n   WantedBy=multi-user.target\n   ```\n3. Enable and start the service:\n   ```bash\n   sudo systemctl enable --now vpn-start\n   ```\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidowza%2Fvpn-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidowza%2Fvpn-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidowza%2Fvpn-start/lists"}