mirror of
https://github.com/kevinveenbirkenbach/client-playbook.git
synced 2024-11-14 11:51:04 +01:00
Added wireguard debug links to doku
This commit is contained in:
parent
3878dfaada
commit
efe2efd739
@ -12,6 +12,22 @@ Manages wireguard on a client.
|
|||||||
|
|
||||||
## Debug
|
## 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
|
### SSH
|
||||||
|
|
||||||
When the SSH connection over wireguard is buggy try:
|
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
|
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
|
## Other
|
||||||
- https://golb.hplar.ch/2019/01/expose-server-vpn.html
|
- https://golb.hplar.ch/2019/01/expose-server-vpn.html
|
||||||
|
Loading…
Reference in New Issue
Block a user