Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zosman1/gmu-vpn-slicer
https://github.com/zosman1/gmu-vpn-slicer
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zosman1/gmu-vpn-slicer
- Owner: zosman1
- Created: 2020-09-01T21:36:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-01T22:04:50.000Z (over 4 years ago)
- Last Synced: 2024-11-07T20:55:38.271Z (2 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gmu-vpn-slicer
this is an implementation of https://github.com/dlenski/vpn-slice for the george mason university VPN
## Usage
This should allow you to connect to masons servers, (Zeus, mason.gmu.edu) without routing all of your network through their vpn.
Personally i use this on raspberry pi to ssh jump into zeus without having the mason VPN installed on each of my devices.
## Install
> For any help please join masonlug.slack.com and i'll be happy to assist
1. Install the [Open Connect Client](https://www.infradead.org/openconnect/) From your package manager.
2. Install the [VPN Slicer](https://github.com/dlenski/vpn-slice) And be sure to run the [self test](https://github.com/dlenski/vpn-slice#first-steps)
3. Clone this repo
4. In `vpn-slicer.service` write in the _absolute_ path of the repository location on the line `WorkingDirectory=`
Example: `WorkingDirectory=/home/zosman/gmu-vpn-slicer/`
5. In `vpn-slicer.sh` put your NETID in the `VPN_USER` Paramater.
Example: `VPN_USER=zosman`
> Please note if you are faculty you will have to change the `TYPE` Paramater to `GENERAL` (Or whatever you use when connecting to the VPN normally)
6. Put your VPN password in a file called `.pass_file` (in the `gmu-vpn-slicer` folder)
(Please note, this is the most insecure part of this so far, in the coming week or so i'll figure out a more secure way to store passwords, also feel free to sugguest a better way in the issues or with a PR)
7. Last step! You made it!
This will link your service to your systems systemd services
`ln -s /etc/systemd/system/vpn-slicer.service /path/to/vpn-slicer.service`
Reload your systemd dameon
`sudo systemctl daemon-reload`
Enable your new service
`sudo systemctl enable vpn-slicer`
Start your new service
`sudo systemctl start vpn-slicer`