{"id":26245380,"url":"https://github.com/savetz/mullvad_allow_ssh","last_synced_at":"2026-04-27T09:04:31.291Z","repository":{"id":279502399,"uuid":"939026508","full_name":"savetz/mullvad_allow_ssh","owner":"savetz","description":"ssh into your remote linux server while running mullvad VPN","archived":false,"fork":false,"pushed_at":"2025-02-25T22:01:08.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T20:46:39.408Z","etag":null,"topics":["iproute","mullvad","nftables","ssh","ssh-tunnel","vpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savetz.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":"2025-02-25T21:51:30.000Z","updated_at":"2025-02-25T22:01:12.000Z","dependencies_parsed_at":"2025-02-25T22:42:35.946Z","dependency_job_id":null,"html_url":"https://github.com/savetz/mullvad_allow_ssh","commit_stats":null,"previous_names":["savetz/mullvad_allow_ssh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/savetz/mullvad_allow_ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2Fmullvad_allow_ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2Fmullvad_allow_ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2Fmullvad_allow_ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2Fmullvad_allow_ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savetz","download_url":"https://codeload.github.com/savetz/mullvad_allow_ssh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2Fmullvad_allow_ssh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["iproute","mullvad","nftables","ssh","ssh-tunnel","vpn"],"created_at":"2025-03-13T12:33:32.368Z","updated_at":"2026-04-27T09:04:31.238Z","avatar_url":"https://github.com/savetz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mullvad_allow_ssh\nssh into your remote linux server while running mullvad VPN\n\nThe problem: I had an ssh connection open to my remote linux server. I activated the mullvad VPN with `mullvad connect` — and, naturally, my ssh connection dropped.\n\nThe solution: this script, which builds `ip route` and `nft` rules to allow ssh traffic from a single specified \"Home\" IP address.\n\nUsage: `./exclude_home_ip.sh HOME_IP\u003e`\nExample: `./exclude_home_ip.sh 45.46.112.140`\n\n1. Finds your default gateway on eth0.\n2. Adds a /32 route for your HOME_IP\n3. Installs nftables rules to mark and route traffic to/from HOME_IP from Mullvad\n4. Adds a route for your home IP outside the VPN\n5. Installs the excludeTraffic rules\n\nRun this before `mullvad connect`\n\nDoes not persist: run after reboot or if your HOME_IP changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavetz%2Fmullvad_allow_ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavetz%2Fmullvad_allow_ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavetz%2Fmullvad_allow_ssh/lists"}