mirror of
https://github.com/trailofbits/algo
synced 2024-11-18 09:25:38 +00:00
20 lines
890 B
Markdown
20 lines
890 B
Markdown
# Linux client setup
|
|
|
|
After you deploy a server, you can use an included Ansible script to provision Linux clients too! Debian, Ubuntu, CentOS, and Fedora are supported. The playbook is `deploy_client.yml`.
|
|
|
|
### Required variables:
|
|
|
|
* `client_ip` - The IP address of your client machine (You can use `localhost` in order to deploy locally)
|
|
* `vpn_user` - The username. (Ensure that you have valid certificates and keys in the `configs/SERVER_ip/pki/` directory)
|
|
* `ssh_user` - The username that we need to use in order to connect to the client machine via SSH (ignore if you are deploying locally)
|
|
* `server_ip` - The vpn server ip address
|
|
|
|
### Example:
|
|
|
|
```shell
|
|
ansible-playbook deploy_client.yml -e 'client_ip=client.com vpn_user=jack server_ip=vpn-server.com ssh_user=root'
|
|
```
|
|
|
|
### Additional options:
|
|
If the user requires sudo password use the following argument: `--ask-become-pass`
|