O cliente OpenVPN para de funcionar após alguns minutos

1

Estou usando o cliente OpenVPN e funciona bem, mas depois de alguns minutos a VPN pára de funcionar.

Estou recebendo esses erros nos registros:

Sun May 10 20:55:28 2015 [nrt-c01.ipvanish.com] Inactivity timeout (--ping-restart), restarting
Sun May 10 20:55:28 2015 SIGUSR1[soft,ping-restart] received, process restarting
Sun May 10 20:55:28 2015 Restart pause, 2 second(s)
Sun May 10 20:55:30 2015 Socket Buffers: R=[163840->327680] S=[163840->131072]
Sun May 10 20:55:30 2015 TCP/UDP: Preserving recently used remote address: [AF_INET]110.50.241.72:443
Sun May 10 20:55:30 2015 UDPv4 link local: [undef]
Sun May 10 20:55:30 2015 UDPv4 link remote: [AF_INET]110.50.241.72:443
Sun May 10 20:56:10 2015 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun May 10 20:56:10 2015 SIGUSR1[soft,ping-restart] received, process restarting
Sun May 10 20:56:10 2015 Restart pause, 2 second(s)
Sun May 10 20:56:12 2015 Socket Buffers: R=[163840->327680] S=[163840->131072]
Sun May 10 20:56:12 2015 TCP/UDP: Preserving recently used remote address: [AF_INET]110.50.241.72:443
Sun May 10 20:56:12 2015 UDPv4 link local: [undef]
Sun May 10 20:56:12 2015 UDPv4 link remote: [AF_INET]110.50.241.72:443
Sun May 10 20:56:52 2015 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun May 10 20:56:52 2015 SIGUSR1[soft,ping-restart] received, process restarting
Sun May 10 20:56:52 2015 Restart pause, 2 second(s)
Sun May 10 20:56:54 2015 Socket Buffers: R=[163840->327680] S=[163840->131072]
Sun May 10 20:56:54 2015 TCP/UDP: Preserving recently used remote address: [AF_INET]110.50.241.72:443
Sun May 10 20:56:54 2015 UDPv4 link local: [undef]
Sun May 10 20:56:54 2015 UDPv4 link remote: [AF_INET]110.50.241.72:443

Minha configuração é a seguinte, diretamente do provedor de VPN:

client
dev tun
proto udp
remote nrt-c01.ipvanish.com 443
resolv-retry infinite
nobind
persist-key
persist-tun
persist-remote-ip
ca ca.ipvanish.com.crt
tls-remote nrt-c01.ipvanish.com
auth-user-pass /etc/openvpn/ipvanish.user
comp-lzo
verb 3
auth SHA256
cipher AES-256-CBC
keysize 256
tls-cipher DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA

O que poderia causar isso? Estou usando o Arch Linux em um Raspberry Pi.

    
por erwan 12.05.2015 / 10:42

1 resposta

0

Você precisa ativar keepalive . Peça ao seu provedor de VPN para adicionar:

keepalive 10 900

para o arquivo de configuração dos servidores.

    
por 12.05.2015 / 11:10