VPN support
This commit is contained in:
parent
d9acf4ff93
commit
647fd78ae2
4 changed files with 68 additions and 3 deletions
10
config/automatrop/roles/system/files/openvpn-client.service
Normal file
10
config/automatrop/roles/system/files/openvpn-client.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/openvpn --suppress-timestamps --nobind --config %i.conf --script-security 2 --up /etc/openvpn/update-resolv-conf --down /etc/openvpn/update-resolv-conf
|
||||
# The part before --script-security 2 might need upgrading from
|
||||
# /usr/lib/systemd/system/openvpn-client@.service if it was upgraded
|
||||
Restart=on-failure
|
||||
User=
|
||||
AmbiantCapabilities=
|
||||
# It's not pretty, but other script only work with systemd or call resolvconf with -p,
|
||||
# which doesn't work without a local DNS resolver
|
Loading…
Add table
Add a link
Reference in a new issue