algo/docs/client-linux.md

23 lines
864 B
Markdown
Raw Normal View History

# Linux client setup
2017-03-04 20:05:02 +00:00
It's possible to deploy an ipsec connection on Linux clients.
Supported distributives are: Debian, Ubuntu, CentOS, Fedora
The playbook is `deploy_client.yml`
2017-03-04 20:06:30 +00:00
### Required variables:
2017-03-04 20:05:02 +00:00
2017-03-04 20:08:31 +00:00
* `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)
2017-06-21 17:39:54 +00:00
* `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)
2017-03-04 20:08:31 +00:00
* `server_ip` - The vpn server ip address
2017-03-04 20:05:02 +00:00
2017-03-04 20:06:30 +00:00
### Example:
2017-03-04 20:05:02 +00:00
```shell
2017-06-21 17:39:54 +00:00
ansible-playbook deploy_client.yml -e 'client_ip=client.com vpn_user=jack server_ip=vpn-server.com ssh_user=root'
```
2017-05-08 20:39:18 +00:00
### Additional options:
If the user requires sudo password use the following argument: `--ask-become-pass`