Package Details: ivpn 3.3.20-1

Git Clone URL: https://aur.archlinux.org/ivpn.git (read-only, click to copy)
Package Base: ivpn
Description: IVPN Command Line Interface
Upstream URL: https://ivpn.net
Keywords: ivpn openvpn privacy security vpn vpn-client wireguard
Licenses: GPL3
Submitter: stenya
Maintainer: stenya
Last Packager: stenya
Votes: 6
Popularity: 0.85
First Submitted: 2020-11-27 21:49
Last Updated: 2021-06-29 12:36

Latest Comments

cds84 commented on 2021-06-22 11:48

The ivpn-service.service systemd unit distributed in this package uses Type=simple.
This causes systemd to assume the servie is up and running the instant the process is started.
The process requires a little extra time to start listening on some local tcp sockets.
I tried to make this service socket activated... I think then systemd will queue packets on the socket until the process is ready to take-over. But, I had no luck! not sure what went wrong.

ivpn.net has an example systemd unit file for auto-connecting to the VPN at bootup on headless servers. That example unit file fails because of the race described above.

I found that adding a small sleep fixed this for me.

sudo systemctl edit ivpn-service.service

Then add the lines...

### Editing /etc/systemd/system/ivpn-service.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file

[Service]
ExecStartPost=sleep 2

### Lines below this comment will be discarded