You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your Linux distribution does not use `systemd` you can bring up WireGuard with `sudo wg-quick up wg0`.
52
+
53
+
## Using a DNS Search Domain
54
+
55
+
As of the `v1.0.20200510` release of `wireguard-tools` WireGuard supports setting a DNS search domain. In your `wg0.conf` file a non-numeric entry on the `DNS` line will be used as a search domain. For example this:
56
+
```
57
+
DNS = 172.27.153.31, fd00::b:991f, mydomain.com
58
+
```
59
+
will cause your `/etc/resolv.conf` to contain:
60
+
```
61
+
search mydomain.com
62
+
nameserver 172.27.153.31
63
+
nameserver fd00::b:991f
64
+
```
65
+
If you're using the version of WireGuard included with Ubuntu as of 19.10 it might be from before this feature was added. To use the latest version of WireGuard add the PPA repository as shown above.
66
+
67
+
Note that using the PPA repository on Ubuntu 20.04 LTS instead of the WireGuard modules shipped in the kernel package may cause the installation of about 40 additional packages in order to compile the kernel module.
Copy file name to clipboardExpand all lines: docs/deploy-to-ubuntu.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ You can use Algo to configure a pre-existing server as an AlgoVPN rather than us
4
4
5
5
To perform a local installation, install the Algo scripts following the normal installation instructions, then choose:
6
6
```
7
-
Install to existing Ubuntu 18.04 or 19.10 server (for more advanced users)
7
+
Install to existing Ubuntu 18.04 or 20.04 server (for more advanced users)
8
8
```
9
9
Make sure your target server is running an unmodified copy of the operating system version specified. The target can be the same system where you've installed the Algo scripts, or a remote system that you are able to access as root via SSH without needing to enter the SSH key passphrase (such as when using `ssh-agent`).
Copy file name to clipboardExpand all lines: docs/deploy-to-unsupported-cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Algo officially supports the [cloud providers listed here](https://github.com/trailofbits/algo/blob/master/README.md#deploy-the-algo-server). If you want to deploy Algo on another virtual hosting provider, that provider must support:
4
4
5
-
1. the base operating system image that Algo uses (Ubuntu 18.04 or 19.10), and
5
+
1. the base operating system image that Algo uses (Ubuntu 18.04 or 20.04), and
6
6
2. a minimum of certain kernel modules required for the strongSwan IPsec server.
7
7
8
8
Please see the [Required Kernel Modules](https://wiki.strongswan.org/projects/strongswan/wiki/KernelModules) documentation from strongSwan for a list of the specific required modules and a script to check for them. As a first step, we recommend running their shell script to determine initial compatibility with your new hosting provider.
File \"/usr/local/lib/python3.6/dist-packages/azure/cli/core/_session.py\", line 39, in load
234
+
with codecs_open(self.filename, 'r', encoding=self._encoding) as f:
235
+
File \"/usr/lib/python3.6/codecs.py\", line 897, in open\n file = builtins.open(filename, mode, buffering)
236
+
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/.azure/azureProfile.json'
237
+
", "module_stdout": "", "msg": "MODULE FAILURE
238
+
See stdout/stderr for the exact error", "rc": 1}
239
+
```
240
+
241
+
It happens when your machine is not authenticated in the azure cloud, follow this [guide](https://trailofbits.github.io/algo/cloud-azure.html) to configure your environment
242
+
226
243
### Windows: The value of parameter linuxConfiguration.ssh.publicKeys.keyData is invalid
227
244
228
245
You tried to deploy Algo from Windows and you received an error like this one:
fatal: [localhost]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'file'. Error was a <class 'ansible.errors.AnsibleError'>, original message: could not locate file in lookup: configs/xxx.xxx.xxx.xxx/wireguard//private/dan"}
268
285
```
269
-
This error is usually hit when using the local install option on a server that isn't Ubuntu 18.04. You should upgrade your server to Ubuntu 18.04. If this doesn't work, try removing `*.lock` files at /etc/wireguard/ as follows:
286
+
This error is usually hit when using the local install option on a server that isn't Ubuntu 18.04 or later. You should upgrade your server to Ubuntu 18.04 or later. If this doesn't work, try removing `*.lock` files at /etc/wireguard/ as follows:
0 commit comments