From d8b8e48b542dc2bfbe5fd0da831b0bece378cf55 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 11 Mar 2024 07:53:53 +0000 Subject: Rename to wg0 so no need change names for new computer config. --- etc/myconf/cfgl_meta | 2 +- etc/nftables.conf | 2 +- etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service | 1 + etc/systemd/system/multi-user.target.wants/wg-quick@wg_ia.service | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) create mode 120000 etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service delete mode 120000 etc/systemd/system/multi-user.target.wants/wg-quick@wg_ia.service (limited to 'etc') diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta index be38be18..20beab3b 100644 --- a/etc/myconf/cfgl_meta +++ b/etc/myconf/cfgl_meta @@ -28,7 +28,7 @@ 755 root root //etc/systemd/system 755 root root //etc/systemd/system/multi-user.target.wants 777 root root //etc/systemd/system/multi-user.target.wants/qbittorrent-nox@xyz.service -777 root root //etc/systemd/system/multi-user.target.wants/wg-quick@wg_ia.service +777 root root //etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service 755 root root //etc/systemd/system/paccache.service.d 644 root root //etc/systemd/system/paccache.service.d/10-remove-all.conf 755 root root //home diff --git a/etc/nftables.conf b/etc/nftables.conf index 5cdfe64a..ab16ed11 100644 --- a/etc/nftables.conf +++ b/etc/nftables.conf @@ -12,7 +12,7 @@ flush ruleset define pub_iface = "eth0" -define wg_iface = "wg_ia" +define wg_iface = "wg0" table inet my_table { diff --git a/etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service b/etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service new file mode 120000 index 00000000..0a92cb9a --- /dev/null +++ b/etc/systemd/system/multi-user.target.wants/wg-quick@wg0.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/wg-quick@.service \ No newline at end of file diff --git a/etc/systemd/system/multi-user.target.wants/wg-quick@wg_ia.service b/etc/systemd/system/multi-user.target.wants/wg-quick@wg_ia.service deleted file mode 120000 index 0a92cb9a..00000000 --- a/etc/systemd/system/multi-user.target.wants/wg-quick@wg_ia.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/wg-quick@.service \ No newline at end of file -- cgit v1.2.3-70-g09d2