Browse Source

add shell highlighting

master
Jonathan Cobb 3 years ago
parent
commit
ae43b74657
2 changed files with 13 additions and 6 deletions
  1. +7
    -4
      cert_instructions/linux_cert.md
  2. +6
    -2
      vpn_instructions/linux_vpn.md

+ 7
- 4
cert_instructions/linux_cert.md View File

@@ -14,14 +14,17 @@
* Open a terminal. If you are not root, become root. If you have sudo privileges, try `sudo bash`
* As root, copy the certificate file you just downloaded to `/usr/share/ca-certificates/extra`. Create this directory if it does not already exist. For example:

sudo mkdir -p /usr/share/ca-certificates/extra # ensure directory exists
sudo cp ~/Downloads/MY_BUBBLE_NAME-ca-cert.crt /usr/share/ca-certificates/extra # copy certificate
```shell script
sudo mkdir -p /usr/share/ca-certificates/extra # ensure directory exists
sudo cp ~/Downloads/MY_BUBBLE_NAME-ca-cert.crt /usr/share/ca-certificates/extra # copy certificate
```
Where `MY_BUBBLE_NAME` is the name of your Bubble.

* After you've copied the certificate, you'll need to tell Ubuntu that it is OK to use. Continuing as root, run
sudo dpkg-reconfigure ca-certificates
```shell script
sudo dpkg-reconfigure ca-certificates
```

* You'll see the question "Trust new certificates from certificate authorities?", as in the screenshot below. Select "Yes" and press Enter



+ 6
- 2
vpn_instructions/linux_vpn.md View File

@@ -13,12 +13,16 @@
* Install WireGuard by following the [installation instructions for your Linux distribution](https://www.wireguard.com/install/)
* On Ubuntu systems, WireGuard also requires `resolvconf` to be installed, but does not install it itself. Ensure that `resolvconf` is installed:

sudo apt install resolvconf
```shell script
sudo apt install resolvconf
```

## Connect to Bubble via WireGuard
* After you have downloaded the `vpn.conf` file, as the root user, copy the file to `/etc/wireguard/wg0.conf`, for example:

sudo cp ~/Downloads/vpn.conf /etc/wireguard/wg0.conf
```shell script
sudo cp ~/Downloads/vpn.conf /etc/wireguard/wg0.conf
```

* As root, run `sudo wg-quick up wg0` (if you get an error about an unsupported protocol, reboot your system and try this command again)
* Congratulations! You are now connected to your Bubble's VPN!

Loading…
Cancel
Save