{"id":22546382,"url":"https://github.com/antonengelhardt/wwu-vpn","last_synced_at":"2025-03-28T08:45:31.890Z","repository":{"id":265710064,"uuid":"627066398","full_name":"antonengelhardt/wwu-vpn","owner":"antonengelhardt","description":"A tool to connect to the WWU VPN","archived":false,"fork":false,"pushed_at":"2023-04-12T18:25:50.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T22:52:40.520Z","etag":null,"topics":["openconnect","openconnect-vpn-client","vpn","wwu"],"latest_commit_sha":null,"homepage":"","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/antonengelhardt.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":"2023-04-12T18:01:56.000Z","updated_at":"2024-01-21T13:55:48.000Z","dependencies_parsed_at":"2024-12-02T07:15:34.635Z","dependency_job_id":null,"html_url":"https://github.com/antonengelhardt/wwu-vpn","commit_stats":null,"previous_names":["antonengelhardt/wwu-vpn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonengelhardt%2Fwwu-vpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonengelhardt%2Fwwu-vpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonengelhardt%2Fwwu-vpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonengelhardt%2Fwwu-vpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonengelhardt","download_url":"https://codeload.github.com/antonengelhardt/wwu-vpn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999321,"owners_count":20707554,"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":["openconnect","openconnect-vpn-client","vpn","wwu"],"created_at":"2024-12-07T15:07:26.968Z","updated_at":"2025-03-28T08:45:31.870Z","avatar_url":"https://github.com/antonengelhardt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WWU-VPN\n\nThis repo contains a script to connect to the WWU-VPN. Also, a GUI is available which is built with Python.\n\n**Note: This script is not affiliated with the WWU**\n\n**Note: This repo originates from a [gist](https://gist.github.com/antonengelhardt/c920a42a1fb8ce9e9f301b57da3b8c59) and has been turned into a repo, because additional contributors joined.**\n\n## Before running\n\n### Install tools\n\nBefore you run this script, install:\n\n- openconnect\n- oathtool\n\nUse the `install.sh` script to install the tools.\n\nWith [brew](https://brew.sh/index_de):\n\n```sh\nbrew install oath-toolkit; brew install openconnect\n```\n\n### Change constants\n\nAt the top of the script, change the values accordingly:\n\n```sh\nUSER=mmuster1\nPASSWORD=verysecurepassword\nOTP_CODE=$(oathtool --totp 100000000000000000005224)\n```\n\nThe Keimwert is displayed in the WWU-IT-Portal when you create your OTP profile. It is the \"Keimwert im Base16-Format\"\n\n## Run / Connect\n\nTo run this script, use `sh wwu-vpn.sh`\n\nWhen you are prompted for a password, enter the password which you use to login to your computer.\n\n## Disconnect\n\nTo disconnect, run the script again. It should disconnect you automatically.\n\nTo manually disconnect, run: `sudo killall openconnect`\n\n## Futher topics\n\n### Shortcut automation\n\nGet [KeySmith](https://www.keysmith.app/).\n\nRecreate this Shortcut:\n\n![Screenshot-Keysmith-001308@2x](https://user-images.githubusercontent.com/106314688/224741223-7aa8b179-613c-49b8-907a-745b8d0aceed.png)\n\n### Aliases in Terminal\n\nIt is also possible to wrap the execution of the script or parts of it in own commands - keyword \"alias\".\n\nAll commands may require the computer password.\n\nThe command `wwu-vpn-check` produces no output if the VPN is not active and returns the ID of the process if the VPN is active.\n\n#### For zsh\n\nChange File `~/.zshrc`:\n\n```sh\nalias wwu-vpn-connect=\"sh ~/Documents/scripts/wwu-vpn.sh\" // depending on where the script is located\nalias wwu-vpn-disconnect=\"sudo killall openconnect\"\nalias wwu-vpn-check=\"sudo pgrep openconnect\"\n```\n\n#### For fish\n\nChange file `~/.config/fish/config.fish`\n\n```sh\nalias wwu-vpn-connect \"sh ~/Documents/scripts/wwu-vpn.sh\" // depending on where the script is located\nalias wwu-vpn-disconnect \"sudo killall openconnect\"\nalias wwu-vpn-check \"sudo pgrep openconnect\"\n```\n\n## Feedback \u0026 Questions\n\nFeedback and Questions are appreciated. Please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonengelhardt%2Fwwu-vpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonengelhardt%2Fwwu-vpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonengelhardt%2Fwwu-vpn/lists"}