diff options
author | vieira <vieira@yubo.be> | 2016-10-27 23:37:48 +0000 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2016-10-30 10:58:03 +1100 |
commit | 6d5d0d766f85eea41654dc0ec6130640c09078f4 (patch) | |
tree | 5a8d81bcdf17360fbcdf0d1300d1b7f5079dc03f /docs | |
parent | 08fb3be7a0ae5ec927d10f90f34c7955bbd73186 (diff) |
Tests and documentation for systemd integration
Some tests and documentation for the systemd notification feature.
Also fixes some corner case issues detected while writing the tests.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/requirements.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/requirements.rst b/docs/requirements.rst index 798cdcb..f070361 100644 --- a/docs/requirements.rst +++ b/docs/requirements.rst @@ -49,6 +49,8 @@ Supports: * IPv4 TCP * IPv4 DNS +* IPv6 TCP +* IPv6 DNS Requires: @@ -72,3 +74,19 @@ Additional Suggested Software - You may want to use autossh, available in various package management systems +- If you are using systemd, sshuttle can notify it when the connection to + the remote end is established and the firewall rules are installed + +.. code-block:: ini + :emphasize-lines: 6 + + [Unit] + Description=sshuttle + After=network.target + + [Service] + Type=notify + ExecStart=/usr/bin/sshuttle --dns --remote <user>@<server> <subnets...> + + [Install] + WantedBy=multi-user.target |