Discourse Staging Site

From Open Source Ecology
Jump to: navigation, search

Hey Marcin,

Thanks for meeting me tonight to set you up with VPN access.

In summary, run this to connect to the VPN

* https://wiki.opensourceecology.org/wiki/VPN#How_to_connect_to_the_VPN
  cd openvpn
  sudo openvpn client.conf

After connecting to the VPN, you should run these commands to manually force your laptop to use our dev server's DNS such that new DNS queries for our sites will resolve to the OSE Staging Server, not Prod. Use a chrome incognito or firefox private browser window to circumvent cache issues.

* https://wiki.opensourceecology.org/wiki/OSE_Staging_Server#Accessing_Staging_Websites
* https://wiki.opensourceecology.org/wiki/DNS_Correction_for_the_Staging_Server
  sudo cp /etc/resolv.conf /etc/resolv.conf.bak
  echo "nameserver 10.241.189.1" | sudo tee /etc/resolv.conf

And after you disconnect from the VPN, run these commands to switch back to your original DNS config.

  sudo rm /etc/resolv.conf
  sudo mv /etc/resolv.conf.bak /etc/resolv.conf

We also made a backup of all the files necessary to set yourself up with VPN access again on a new laptop. These live on your encrypted veracrypt volume file on your backup usb drive.

The openvpn dir with your ssl private key, public cert, config file, etc. This should be put into your $HOME dir. Your personal keepass file has an entry with your 2fa totp secret key. This should be imported into your android phone's 2fa app of choice.

Your personal keepass file has an entry with your openvpn private key password. This should be typed when prompted to "Enter Private Key Password:" when connecting to the VPN above. Please let me know if you have any further questions about our OSE Development VPN. Michael Altfield Senior System Administrator PGP Fingerprint: 8A4B 0AF8 162F 3B6A 79B7 70D2 AA3E DF71 60E2 D97B

Open Source Ecology www.opensourceecology.org