Troubleshooting
The VPN shows connected but no traffic passes
An OpenVPN config with a compress line stops the UniFi gateway passing traffic.
Many providers’ .ovpn files contain a compress line. The UniFi gateway’s OpenVPN then drops every packet coming back, and its logs show “Bad compression stub”.
- 1Open the .ovpn file from your provider and remove the compress line.
- 2In UniFi Network, go to Settings > VPN > VPN Client.
- 3Upload the edited config to the VPN client connection.
Was this helpful? Still stuck? Contact us