ROUTER fails to connect OpenVPN connection

[MODERATOR EDIT: Adding English translation, including the title]

Dear ovpn community,

I use OpenVPN in the client role to connect to a VPN provider. In
I get disconnected from time to time. Then openvpn will try
reconnect, fail, reconnect, fail with the following messages:

Prezada comunidade ovpn,

eu uso o OpenVPN na função de cliente para me conectar a um provedor de VPN. De
vez em quando sou desconectado. Em seguida, o openvpn tentará
reconectar, falha, reconecta, falha com as seguintes mensagens:

openvpn-cli[579]: Restart pause, 5 second(s)
openvpn-cli[579]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
openvpn-cli[579]: Socket Buffers: R=[87380->131072] S=[16384->131072]
openvpn-cli[579]: Attempting to establish TCP connection with [AF_INET]195.158.248.97:443 [nonblock]
openvpn-cli[579]: TCP connection established with [AF_INET]195.158.248.97:443
openvpn-cli[579]: TCPv4_CLIENT link local: [undef]
openvpn-cli[579]: TCPv4_CLIENT link remote: [AF_INET]195.158.248.97:443
openvpn-cli[579]: TLS: Initial packet from [AF_INET]195.158.248.97:443, sid=422c12b3 b30796ef
openvpn-cli[579]: Connection reset, restarting [0]
openvpn-cli[579]: SIGUSR1[soft,connection-reset] received, process restarting

cliente.conf

client
dev tun
proto tcp
remote 195.158.248.97 443
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
verify-x509-name pt98.nordvpn.com

remote-cert-tls server

auth-user-pass
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512

I'm new to this forum, please bear with me if something is missing, I'll post more info if needed.

thanks in advance

Sou novo neste fórum, por favor, tenha paciência comigo se algo estiver faltando, postarei mais informações se necessário.

Obrigado antecipadament

Here is a translation of the OP's post, in case anyone needs it:

2 Likes

Welcome to the forum.

This is a forum for OpenWRT. Are you using OpenWRT?

==//==

Bem-vindo ao fórum.

Este é um fórum para OpenWRT. Você está usando o OpenWRT?

Hello!

Yes it is openwrt Asus rt-ac51u

thanks! :slight_smile:

Ola!

Sim é openwrt Asus rt-ac51u

obrigado! :slight_smile:

Here are some suggestions for things you may wish to try:

  • You are a paying customer of NordVPN. You are entitled to support from NordVPN. It might be worth asking NordVPN for assistance.
  • If possible, try 1194/udp for OpenVPN rather than 443/tcp.
  • If possible, consider using WireGuard instead of OpenVPN. It's faster and easier to set up.

This documentation might be useful as well:

==//==

Aqui estão algumas sugestões de coisas que você pode querer experimentar:

  • Você é um cliente pagante da NordVPN. Você tem direito ao suporte da NordVPN. Pode valer a pena pedir ajuda ao NordVPN.
  • Se possível, tente 1194/udp para OpenVPN em vez de 443/tcp.
  • Se possível, considere usar o WireGuard em vez do OpenVPN. É mais rápido e fácil de configurar.

Esta documentação também pode ser útil:

Please post in Engllish, which is the preferred language for the forum. You may use an online translator, and you are free to also include your native language in addition to the English version.

2 Likes

How do I make sure that all sites must be redirected by the VPN, in case the vpn server fails and the site does not work?

do you mean how redirect the traffic, and skip the VPN, if it's down ?