github_vignettes/server-setup.md

Data Server Setup & Rules

Southwick Associates maintains a high-performance server in its office that can be accessed remotely (using a VPN) for license data processing. It supports up to 5 concurrent remote desktop users, and is intended for intensive workloads that use sensitive data.

Data used in processing dashboards is highly sensitive, and state license data must never be transferred to another machine (i.e., it can only live on the data server).

Contents

Usage Rules

These rules must always be followed:

Shared Resource Guidelines

You should also be cognizant of how much of the shared resources you are using (particularly RAM). You can use Task Manager to view your usage.

VPN & Remote Desktop Setup

Windows and Mac have different setup requirements.

Windows Setup

Access to the server is provided for specific analysts using a VPN connection in conjunction with Windows Remote Desktop. User account credentials will be provided to each analyst by the project manager (see below for connection instructions).

VPN

The server can only be accessed using a Southwick VPN (Virtual Private Network), which provides a secure channel between your personal computer and the server. Microsoft Windows has a built-in VPN connection utility. Before making a Remote Desktop connection, users must establish a VPN connection. In Windows 10:

Network Status >> VPN >> Add a VPN connection

Then click on the new VPN icon and connect. You can verify the VPN connection by clicking on the network icon in the task tray. The list of network options should show the VPN as connected.

Remote Desktop

Microsoft Windows has a built-in Remote Desktop (RD) application that can be used for connecting to the server. Once connected to the VPN, you can connect to Remote Desktop by clicking on the Windows start menu and typing "Remote Desktop Connection" >> Show Options and then enter your credentials:

When the RD window is active, the user's keyboard and mouse function as though they are connected directly to the server. Our RD license allows up to five concurrent connections to the server. This means that more than one (and up to five) people can be connected to the server at the same time without interfering with each other (although they must share the server's computing resources).

Mac Setup

Note: The PPTP plugin approach below does not appear to work for macOS Catalina and later (see article). You can get a 30-day trial for software called VPN Tracker, which worked for Dan in Oct, 2020. Then you connect using the Microsoft Remote Desktop outlined below.

Access to the server requires an PPTP VPN on Mac (i.e. macOS Catalina, Mojave, High Sierra, Sierra) and installment Microsoft Remote Desktop from the Apple app store.

VPN

Mac OS 10.12 (and greater) have removed PPTP connection from built-in VPN clients. Supported Mac protocols (i.e. IKEv2, Cisco IPSec, and L2TP over IPSec) cannot access the Southwick VPN. We can set up a PPTP connection by using the command line.

You can create a .txt file (e.g. called vpn.txt) file and paste the following commands as such:

plugin PPTP.ppp
noauth
remoteaddress "------VPN IP address------"
user "------VPN username------"
password "------VPN password------"
redialcount 1
redialtimer 5
idle 1800
# mru 1368
# mtu 1368
receive-all
novj 0:0
ipcp-accept-local
ipcp-accept-remote
refuse-eap
refuse-pap
refuse-chap-md5
hide-password
mppe-stateless
mppe-128
# require-mppe-128
looplocal
nodetach
ms-dns 8.8.8.8
usepeerdns
# ipparam gwvpn
defaultroute
debug

Save the file. Then, in terminal app, execute the commands in the file with a PPTP.ppp function build into the Mac:

sudo pppd file ~/path-to-your-file/vpn.txt

To disable the VPN process:

killall pppd

Remote Desktop

Accessing the remote PC desktop requires installing Microsoft Remote Desktop 10 from the Apple App Store. Once opened (and with VPN connection), you can then manually select "Add PC". Here you type in the IP address, set up your user account, and select "No Gateways" in the General option section. When saved, you should have an active RD window.



southwick-associates/salicprep documentation built on Oct. 6, 2020, 12:03 p.m.