Browse Source

Update example config file in README

pull/3/head 0.1.0
Jordan Potter 5 years ago
parent
commit
ac2b0180ae
  1. 4
      README.md

4
README.md

@ -5,12 +5,12 @@ Wireguard is implemented as a kernel module, which is key to its performance and
You will need a configuration file for your Wireguard interface. Many VPN providers will create this configuration file for you. For example, [here](http://mullvad.net/en/download/wireguard-config) is the configuration generator for Mullvad. Be sure to NOT include a killswitch in the configuration file, since the docker image already has one. You will need a configuration file for your Wireguard interface. Many VPN providers will create this configuration file for you. For example, [here](http://mullvad.net/en/download/wireguard-config) is the configuration generator for Mullvad. Be sure to NOT include a killswitch in the configuration file, since the docker image already has one.
Now simply mount the configuration file and run! For example, if your configuration file is located at `/path/to/conf/mullvadus2.conf`: Now simply mount the configuration file and run! For example, if your configuration file is located at `/path/to/conf/mullvad.conf`:
```bash ```bash
docker run --name wireguard \ docker run --name wireguard \
--privileged \ --privileged \
-v /path/to/conf/mullvadus2.conf:/etc/wireguard/mullvadus2.conf \ -v /path/to/conf/mullvad.conf:/etc/wireguard/mullvad.conf \
jordanpotter/wireguard jordanpotter/wireguard
``` ```

Loading…
Cancel
Save