Info |
---|
AI2 has two VPN options available: PriTunl and TunnelBlick. PriTunl is the preferred option, only use TunnelBlick if something prevents you from using PriTunl. |
MacOS/Windows:
Connect via the PriTunl Client
Note |
---|
The Profile URI Link on the login page only lasts a few minutes, so unless you're really fast, you'll have to log in a second time. The instructions will guide you through that. |
Go to pritunl.allenai.org
Select Sign in with Google
Select your @allenai.org GSuite account
Select Download Client, follow the installation instructions
Close the pritunl.allenai.org browser tab (see note above as to why)
Go back to pritunl.allenai.org and log in again
Open the Pritunl application
Copy the Profile URI Link
Start the PriTunl client (if it hasn't already been started)
Select Import Profile URI
Paste the URI and press Import
You can use the “hamburger” menu in the top right corner of each profile to connect to and disconnect from the VPN.
Info |
---|
You will see three AI2 VPNs in the Pritunl client: pritunl.allenai.org - This profile is intended for computers running MacOS. It will only route traffic destined for the corporate network through the VPN. All other traffic will continue to route through your local network. pritunl.allenai.org-alltraffic - This profile is intended for computer running MacOS. This will route all traffic through the VPN. Some project team members (formerly VPT) may need this to connect to cloud resources. Use this only if you require it. pritunl.allenai.org-windows - This profile is specifically configured to be used on Windows computers. It will only route traffic destined for the corporate network through the VPN. All other traffic will continue to route through your local network. |
Additional Windows Step:
Note |
---|
If you are using a Windows laptop, choose the pritunl.allenai.org-windows profile and click the three line “hamburger” icon then click “Autostart Off” and select “On.” This will set your VPN to an always-on “system” profile and allow the laptop to check in to sync your account information and keep your account active. If this is not set, your laptop will not be able to check in periodically and Windows will auto-lock all accounts. |
MacOS (Alternate Setup)
Connect via Tunnelblick (MacOS Only)
Install the Tunnelblick (MacOS) client (you may skip this step if it's already installed)
Skip the config file installation if asked - that comes later
Go to pritunl.allenai.org
Select Sign in with Google
Select your @allenai.org GSuite account
Select Show More
Select Download Profile (pritunl.allenai.org) (the thin, blue option)
Download the .ovpn file and open it
...
Tunnelblick/OpenVPN will guide you through the rest of the installation. If you have issues installing the client or messages appear when connecting, see the Troubleshooting section below.
Windows (Alternate Setup)
Info |
---|
Although we don't officially support Windows, we've provided the following instructions to assist you |
Installing the Windows OpenVPN Client
Download the OpenVPN client. Use the default settings except for the following:
Uncheck, "Add Shortcuts to Start Menu"Unzip config you were given from above instructions and move all the files inside the config.tblk\ or AllenAI.tblk\ directory into in \ProgramFiles\OpenVPN\config\
If your computer doesn't have an 'unzip' program, use 7Zip
Restart the computer. If you really don't want to restart the computer, you can just restart the service (if you know how) but restarting the computer is just easier.
You now have a new icon on your taskbar called OpenVPN GUI. Right click on it and 'Connect' or 'Disconnect'.
To connect to the VPN, you must run OpenVPN as administrator
Info |
---|
Optionally, you can remove: OpenVPN Connect - just get rid of it 'cause we don't use it. Remove it from the desktop, start menu, taskbar - everywhere. OpenVPN GUI - Remove it from everywhere except the taskbar. |
Options and Troubleshooting:
...
If you want to route all traffic over the VPN, make a copy of the configuration as follows (Tunnelblick instructions):
Click the Tunnelblick icon and select "VPN Details..."
Select "AllenAI", click the gear icon on the bottom of the list and choose "Duplicate Configuration..."
Select the new configuration and press the "Advanced..." button
Press the "While Connected" tab and click the "Route all traffic through the VPN" checkbox
Close the windows and connect
...
If you get one of the following messages:
Tunnelblick was not able to load a system extension that is needed to connect to ...
System Extension Blocked: A program tried to load new system extension(s) signed by "Jonathan Bullard"
Follow the instructions here to resolve the problem. (H/T Miles)
Tunnelblick Connection Messages
If you get a message that complains about one of the following, you may ignore it:
comp-lzo compression deprecation
Apparent IP address changing or not changing
...
401: Unauthorized - Make sure you are logging in with your http://allenai.org email address, not a personal email address
...
Connecting to Tailscale
Disconnect from and exit any VPNs that might already be running (other than Tailscale)
If you are on an AI2-managed Mac, go to your Applications folder and open Tailscale. Otherwise, download Tailscale from https://tailscale.com/download and launch the app. It will launch to your top menu bar.
Click the Tailscale icon in the menu bar and click Log in…
Choose Sign in with Google and authenticate with Google/Okta
Click the Connect button to add your device to the AI2 Tailscale network
Now that you’ve signed in and added your machine, Tailscale will automatically launch itself on startup and will stay connected unless you manually disconnect.
There are three ways to reach resources through Tailscale:
You can access all resources on the AI2 network using the FQDN, e.g. allennlp-cirrascale-01.reviz.ai2.in. This includes hardware and cloud resources on our networks that are not directly running Tailscale.
For a resource running Tailscale directly, you can use its Tailscale name, which is the hostname portion of the FQDN, e.g. allennlp-cirrascale-01. This name resolves to its Tailscale IP address. You can see a list of available resources in the Tailscale app under Network Devices - Tagged Devices.
If you click the name of a resource in the Network Devices - Tagged Devices list in the Tailscale app, it will copy the Tailscale IP address of the resource to your clipboard and can be pasted wherever you need.
Troubleshooting
If you are unable to connect to resources while on Tailscale or unable to connect to the internet, exit Tailscale completely from the application icon, then re-launch. This causes a number of resets and will resolve most connection issues.
If unable to connect to a resource using its FQDN, try using its Tailscale name, e.g. prior-elanding-75
This is particularly helpful if you are connecting from a hotel, university, or other corporate location, as oftentimes their IP address range conflicts with ours. When using Tailscale hostnames, it uses a reserved IP range, so you will never encounter conflicts with your local network.
If unable to access a resource using its Tailscale name, try using its FQDN, e.g. prior-elanding-75.reviz.ai2.in
These two methods take different routes, so often if one is not routing properly, the other will work