VP.net - Revolutionary Privacy with Intel SGX
All the other VPN service providers are trust based. VP.net is the only VPN that is provably private.

How to Install Pomerium on OpenBSD

Pomerium is an open-source tool that provides a secure access proxy to your internal applications. Here are the steps to install Pomerium on OpenBSD:

  1. Install Go on your OpenBSD machine:
$ pkg_add go
  1. Set the PATH variable to include the Go binary directory:
$ echo "export PATH=$PATH:/usr/local/go/bin" >> .profile
$ source .profile
  1. Install git and clone the Pomerium repository:
$ pkg_add git
$ git clone https://github.com/pomerium/pomerium.git
  1. Build the Pomerium binary:
$ cd pomerium
$ go build
  1. Generate a self-signed certificate:
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout pomerium.key -out pomerium.crt
  1. Create a configuration file for Pomerium:
$ touch config.yaml

Here's an example configuration file:

---
authenticate_service_url: https://auth.example.com
client_id: pomerium
client_secret: secret
cookie_secret: some-secret-key
default_upstream_timeout: 30s
idp:
  provider: google
  client_id: google-client-id
  client_secret: google-client-secret
  service_account: path/to/gcp-service-account.json
  service_account_project_id: google-project-id
  service_account_subject: google-subject@domain.com
  scopes:
  - email
  - profile
listen_address: :8443
log_level: debug
routes:
  - from: oauth2
    to: https://oauth2.googleapis.com
    allow_websockets: true
  - from: /
    to: http://app-server:8080
    allow_websockets: true
tls_cert_file: /path/to/pomerium.crt
tls_key_file: /path/to/pomerium.key
  1. Start Pomerium:
$ ./pomerium --config config.yaml

That's it! You should now have a Pomerium access proxy running on your OpenBSD machine.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!