Skip to content

Commit adef56f

Browse files
defguard-communitygitbook-bot
authored andcommitted
GITBOOK-424: change request with no subject merged in GitBook
1 parent 9d78f8d commit adef56f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

resources/troubleshooting/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,27 @@ Every reverse proxy has a timeout for keeping the connection alive. You can incr
9191

9292
Ignore them, this is a normal behaviour.
9393

94+
## Gateway throws "No buffer space available" error
95+
96+
In the log files you can see the following message:
97+
98+
```
99+
Jul 08 08:33:24 defguard defguard-gateway[1241]: [2025-07-08T06:33:24Z ERROR defguard_gateway::gateway] Failed to update network configuration: Firewall error: Netlink error: Failed while reading a message from socket: Os { code: 105, kind: Uncategorized, message: "No buffer space available" }
100+
```
101+
102+
To fix this, you'll need to set larger socket buffer sizes using kernel parameters:
103+
104+
```
105+
net.core.rmem_max = 67108864
106+
net.core.wmem_max = 67108864
107+
net.ipv4.tcp_rmem = 4096 87380 67108864
108+
net.ipv4.tcp_wmem = 4096 65536 67108864
109+
net.core.rmem_default = 524288
110+
net.core.wmem_default = 524288
111+
```
112+
113+
More info here: [https://github.com/DefGuard/defguard/issues/1303](https://github.com/DefGuard/defguard/issues/1303)
114+
94115
## How to check if the VPN is working / my VPN is not working
95116

96117
If you have configured your defguard instance correctly, after connecting to the VPN you should be able to ping your VPN server, for example if you have the following setup:

0 commit comments

Comments
 (0)