1
0
Fork 0

Manual backup: 2022-09-05 07:37:29

This commit is contained in:
Alexander Schäferdiek 2022-09-05 07:37:29 +02:00
parent f14bdab309
commit b0dbc7d569
2 changed files with 37 additions and 4 deletions

View file

@ -1,10 +1,10 @@
{
"commitMessage": "Automatic backup: {{date}}",
"commitMessage": "Manual backup: {{date}}",
"autoCommitMessage": "Automatic backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 0,
"autoPushInterval": 0,
"autoPullInterval": 0,
"autoPullInterval": 60,
"autoPullOnBoot": true,
"disablePush": false,
"pullBeforePush": true,
@ -14,11 +14,11 @@
"updateSubmodules": false,
"syncMethod": "merge",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": false,
"autoBackupAfterFileChange": true,
"treeStructure": false,
"refreshSourceControl": true,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": false,
"changedFilesInStatusBar": true,
"username": ""
}

33
KB/Linux/Wireguard.md Normal file
View file

@ -0,0 +1,33 @@
---
creation date: 2022-09-05
tags: [note,linux,wireguard,wg]
---
# Wireguard
`wireguard-tools` is required.
## Forwarding
When forwarding should be allowed, the "host" needs to set the following via `sysctl` or in a `PostUp` / `PostDown` hook of WireGuard.
```shell
net.ipv4.ip_forward=1
net.ipv6.conf.all.forwarding=1
```
In addition, the `AllowedIPs` in the client's `peer` section should be `0.0.0.0/0, ::/0`.
## Import into Network Manager
When using Network Manager, WireGuard profiles can be imported
```shell
nmcli connection import type wireguard file <path to conf>
```
Ensure you've unchecked _Automatically connect_ afterwards in `nm-connection-editor`.
## Android
On Android devices, private DNS enabled might block resolving. Disable it for WireGuard