-
Notifications
You must be signed in to change notification settings - Fork 0
MSSI VPN client setup
reubenajohnston edited this page Oct 31, 2024
·
5 revisions
- Download meerkat-UDP4-1194-config.zip and unzip it
- NetworkManager setup
- Copy the files into /etc/openvpn/client
- Settings->Advanced Network Configuration
- Select + (Add a new connection)
- Under VPN, select Import a saved VPN configuration
- Select /etc/openvpn/client/meerkat-UDP4-1194.ovpn
- Type your mssi-lab username and password into the Authentication section's fields and click Save
- To connect the tunnel, left click on the network icon on the right side of the task bar and select
VPN Connections->meerkat-UDP4-1194
- To validate connectivity, try pinging
shrew.mssi-lab.isi.jhu.edu
- Command line setup
- Copy the files into ~/meerkat-UDP4-1194
- create a
~/startvpn.sh
file with:
#!/usr/bin/bash if [[ $(/usr/bin/id -u) -ne 0 ]]; then echo "Error: requires running as root" exit fi openvpn --config /home/$SUDO_USER/meerkat-UDP4-1194/meerkat-UDP4-1194.ovpn --auth-user-pass /home/$SUDO_USER/meerkat-UDP4-1194/meerkat-UDP4-1194.cred --tls-auth /home/$SUDO_USER/meerkat-UDP4-1194/meerkat-UDP4-1194-tls.key --ca /home/$SUDO_USER/meerkat-UDP4-1194/meerkat-UDP4-1194-ca.crt
- make it executable via:
$ chmod +x ~/startvpn.sh
- run it from a terminal as sudo to start the vpn client
- NetworkManager setup
- create a text file, meerkat-UDP4-1194.cred, that has your username on the first line and password on the second
- download the meerkat-UDP4-1194.ovpn file from the mssi page
$ sudo openvpn --config meerkat-UDP4-1194.ovpn --auth-user-pass meerkat-UDP4-1194.cred