From: Lonnie Abelbeck <lists@lonnie.abelbeck.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: wg-quick systemd service doesn't work after boot
Date: Sun, 6 Oct 2019 13:13:29 -0500 [thread overview]
Message-ID: <C75B3908-3C57-403D-A306-C6B53AAAFFE4@lonnie.abelbeck.com> (raw)
In-Reply-To: <CA+Hw3ebFCOoc6N_sn9HsaGmLiFp68XY+jLV83NS5JqmtLZ=8-g@mail.gmail.com>
> On Oct 6, 2019, at 11:54 AM, Adrián Mihálko <adriankoooo@gmail.com> wrote:
>
> I have 3 wg interface on my server, but I am unable to enable wg0 with wg-quick at boot:
>
> @ubuntu:~$ sudo systemctl enable wg-quick@wg0
> @ubuntu:~$
> ...
> Oct 06 13:22:53 ubuntu wg-quick[1737]: [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o e
> Oct 06 13:22:53 ubuntu wg-quick[1737]: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
Hi Adrián,
As a test, how about adding -w to the iptables call:
--
iptables -w -A FORWARD -i wg0 ...
--
and see it that fixes it.
With -w, iptables will wait until the lock is released.
Lonnie
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
prev parent reply other threads:[~2019-10-06 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-06 16:54 wg-quick systemd service doesn't work after boot Adrián Mihálko
2019-10-06 18:13 ` Lonnie Abelbeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C75B3908-3C57-403D-A306-C6B53AAAFFE4@lonnie.abelbeck.com \
--to=lists@lonnie.abelbeck.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).