mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 02:45:02 +01:00
Added wireguard debug links to doku
This commit is contained in:
parent
02f0b30758
commit
0ddd068ff5
@ -12,6 +12,22 @@ Manages wireguard on a client.
|
||||
|
||||
## Debug
|
||||
|
||||
### RTNETLINK answers: Permission denied
|
||||
When ```systemctl restart wg-quick@wg0.service``` returns __RTNETLINK answers: Permission denied__, modify _/etc/sysctl.conf_:
|
||||
|
||||
```bash
|
||||
net.ipv6.conf.all.disable_ipv6 = 0
|
||||
net.ipv6.conf.default.disable_ipv6 = 0
|
||||
net.ipv6.conf.lo.disable_ipv6 = 0
|
||||
```
|
||||
|
||||
Afterwards reload:
|
||||
```bash
|
||||
sysctl -p
|
||||
systemctl restart wg-quick@wg0.service
|
||||
```
|
||||
|
||||
|
||||
### SSH
|
||||
|
||||
When the SSH connection over wireguard is buggy try:
|
||||
@ -21,7 +37,7 @@ ip li set mtu 1400 dev eth0
|
||||
ip li set mtu 1400 dev wlo1
|
||||
```
|
||||
|
||||
This can be connected to the [MTU](https://www.imperva.com/learn/application-security/what-is-mtu-mss/)
|
||||
This can be connected to the [MTU](https://www.imperva.com/learn/application-security/what-is-mtu-mss/)
|
||||
|
||||
## Other
|
||||
- https://golb.hplar.ch/2019/01/expose-server-vpn.html
|
||||
|
Loading…
Reference in New Issue
Block a user