WireGuard Archive on lore.kernel.org
 help / color / Atom feed
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
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.


WireGuard mailing list

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-06 16:54 Adrián Mihálko
2019-10-06 18:13 ` Lonnie Abelbeck [this message]

Reply instructions:

You may reply publically 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:

* 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 \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox