gistfile1.txt
· 3.0 KiB · Text
原始檔案
root@wireguard:/etc/wireguard/wgctl# journalctl -u wg-quick@wg0 --since "2026-05-24 03:25:00" --until "2026-05-24 03:27:00"
May 24 03:26:05 wireguard systemd[1]: Stopping [email protected] - WireGuard via wg-quick(8) for wg0...
May 24 03:26:05 wireguard wg-quick[887151]: [#] ip link delete dev wg0
May 24 03:26:05 wireguard wg-quick[887151]: [#] iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING>
May 24 03:26:05 wireguard wg-quick[887163]: iptables: Bad rule (does a matching rule exist in that chain?).
May 24 03:26:05 wireguard systemd[1]: [email protected]: Control process exited, code=exited, status=1/FAILURE
May 24 03:26:05 wireguard systemd[1]: [email protected]: Failed with result 'exit-code'.
May 24 03:26:05 wireguard systemd[1]: Stopped [email protected] - WireGuard via wg-quick(8) for wg0.
May 24 03:26:05 wireguard systemd[1]: Starting [email protected] - WireGuard via wg-quick(8) for wg0...
May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link add wg0 type wireguard
May 24 03:26:05 wireguard wg-quick[887164]: [#] wg setconf wg0 /dev/fd/63
May 24 03:26:05 wireguard wg-quick[887164]: [#] ip -4 address add 10.1.0.1/16 dev wg0
May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link set mtu 1420 up dev wg0
May 24 03:26:05 wireguard wg-quick[887164]: [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING>
May 24 03:26:05 wireguard systemd[1]: Finished [email protected] - WireGuard via wg-quick(8) for wg0.
root@wireguard:/etc/wireguard/wgctl# systemctl status wg-quick@wg0
* [email protected] - WireGuard via wg-quick(8) for wg0
Loaded: loaded (/lib/systemd/system/[email protected]; enabled; preset: enabled)
Active: active (exited) since Sun 2026-05-24 03:26:05 UTC; 5min ago
Docs: man:wg-quick(8)
man:wg(8)
https://www.wireguard.com/
https://www.wireguard.com/quickstart/
https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8
https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
Process: 887164 ExecStart=/usr/bin/wg-quick up wg0 (code=exited, status=0/SUCCESS)
Main PID: 887164 (code=exited, status=0/SUCCESS)
CPU: 38ms
May 24 03:26:05 wireguard systemd[1]: Starting [email protected] - WireGuard via wg-quick(8) for wg0...
May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link add wg0 type wireguard
May 24 03:26:05 wireguard wg-quick[887164]: [#] wg setconf wg0 /dev/fd/63
May 24 03:26:05 wireguard wg-quick[887164]: [#] ip -4 address add 10.1.0.1/16 dev wg0
May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link set mtu 1420 up dev wg0
May 24 03:26:05 wireguard wg-quick[887164]: [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -s 10.1.0.0/16 -o eth0 -j MA>
May 24 03:26:05 wireguard systemd[1]: Finished [email protected] - WireGuard via wg-quick(8) for wg0.
| 1 | root@wireguard:/etc/wireguard/wgctl# journalctl -u wg-quick@wg0 --since "2026-05-24 03:25:00" --until "2026-05-24 03:27:00" |
| 2 | |
| 3 | May 24 03:26:05 wireguard systemd[1]: Stopping [email protected] - WireGuard via wg-quick(8) for wg0... |
| 4 | |
| 5 | May 24 03:26:05 wireguard wg-quick[887151]: [#] ip link delete dev wg0 |
| 6 | |
| 7 | May 24 03:26:05 wireguard wg-quick[887151]: [#] iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING> |
| 8 | |
| 9 | May 24 03:26:05 wireguard wg-quick[887163]: iptables: Bad rule (does a matching rule exist in that chain?). |
| 10 | |
| 11 | May 24 03:26:05 wireguard systemd[1]: [email protected]: Control process exited, code=exited, status=1/FAILURE |
| 12 | |
| 13 | May 24 03:26:05 wireguard systemd[1]: [email protected]: Failed with result 'exit-code'. |
| 14 | |
| 15 | May 24 03:26:05 wireguard systemd[1]: Stopped [email protected] - WireGuard via wg-quick(8) for wg0. |
| 16 | |
| 17 | May 24 03:26:05 wireguard systemd[1]: Starting [email protected] - WireGuard via wg-quick(8) for wg0... |
| 18 | |
| 19 | May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link add wg0 type wireguard |
| 20 | |
| 21 | May 24 03:26:05 wireguard wg-quick[887164]: [#] wg setconf wg0 /dev/fd/63 |
| 22 | |
| 23 | May 24 03:26:05 wireguard wg-quick[887164]: [#] ip -4 address add 10.1.0.1/16 dev wg0 |
| 24 | |
| 25 | May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link set mtu 1420 up dev wg0 |
| 26 | |
| 27 | May 24 03:26:05 wireguard wg-quick[887164]: [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING> |
| 28 | |
| 29 | May 24 03:26:05 wireguard systemd[1]: Finished [email protected] - WireGuard via wg-quick(8) for wg0. |
| 30 | |
| 31 | |
| 32 | |
| 33 | root@wireguard:/etc/wireguard/wgctl# systemctl status wg-quick@wg0 |
| 34 | |
| 35 | * [email protected] - WireGuard via wg-quick(8) for wg0 |
| 36 | |
| 37 | Loaded: loaded (/lib/systemd/system/[email protected]; enabled; preset: enabled) |
| 38 | |
| 39 | Active: active (exited) since Sun 2026-05-24 03:26:05 UTC; 5min ago |
| 40 | |
| 41 | Docs: man:wg-quick(8) |
| 42 | |
| 43 | man:wg(8) |
| 44 | |
| 45 | https://www.wireguard.com/ |
| 46 | |
| 47 | https://www.wireguard.com/quickstart/ |
| 48 | |
| 49 | https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8 |
| 50 | |
| 51 | https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8 |
| 52 | |
| 53 | Process: 887164 ExecStart=/usr/bin/wg-quick up wg0 (code=exited, status=0/SUCCESS) |
| 54 | |
| 55 | Main PID: 887164 (code=exited, status=0/SUCCESS) |
| 56 | |
| 57 | CPU: 38ms |
| 58 | |
| 59 | May 24 03:26:05 wireguard systemd[1]: Starting [email protected] - WireGuard via wg-quick(8) for wg0... |
| 60 | |
| 61 | May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link add wg0 type wireguard |
| 62 | |
| 63 | May 24 03:26:05 wireguard wg-quick[887164]: [#] wg setconf wg0 /dev/fd/63 |
| 64 | |
| 65 | May 24 03:26:05 wireguard wg-quick[887164]: [#] ip -4 address add 10.1.0.1/16 dev wg0 |
| 66 | |
| 67 | May 24 03:26:05 wireguard wg-quick[887164]: [#] ip link set mtu 1420 up dev wg0 |
| 68 | |
| 69 | May 24 03:26:05 wireguard wg-quick[887164]: [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -s 10.1.0.0/16 -o eth0 -j MA> |
| 70 | |
| 71 | May 24 03:26:05 wireguard systemd[1]: Finished [email protected] - WireGuard via wg-quick(8) for wg0. |
| 72 | |
| 73 | |
| 74 | |
| 75 |