Estou tentando usar o ovpn no meu raspeberry (distr. Raspbian), mas ele não funciona: a sequência de inicialização foi concluída, mas meu IP não muda.
Aqui está o log:
Fri Nov 9 13:56:19 2018 WARNING: file 'PrivateKey.key' is group or others accessible
Fri Nov 9 13:56:19 2018 OpenVPN 2.4.0 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 18 2017
Fri Nov 9 13:56:19 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.08
Enter Auth Username: ******************
Enter Auth Password: ******************
Fri Nov 9 13:56:33 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]194.99.104.5:443
Fri Nov 9 13:56:33 2018 UDP link local: (not bound)
Fri Nov 9 13:56:33 2018 UDP link remote: [AF_INET]xxx.xx.xxx.x:xxx
Fri Nov 9 13:56:33 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Nov 9 13:56:34 2018 [5554/server] Peer Connection Initiated with [AF_INET]xxx.xx.xxx.x:xxx
Fri Nov 9 13:56:35 2018 Option 'explicit-exit-notify' in [PUSH-OPTIONS]:3 is ignored by previous <connection> blocks
Fri Nov 9 13:56:35 2018 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Fri Nov 9 13:56:35 2018 GDG6: NLSMG_ERROR: error -101
Fri Nov 9 13:56:35 2018 TUN/TAP device tun0 opened
Fri Nov 9 13:56:35 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=1
Fri Nov 9 13:56:35 2018 /sbin/ip link set dev tun0 up mtu 1500
Fri Nov 9 13:56:35 2018 /sbin/ip addr add dev tun0 local 172.18.13.122 peer 172.18.13.121
Fri Nov 9 13:56:35 2018 /sbin/ip -6 addr add fde4:8dba:82e3::101d/64 dev tun0
RTNETLINK answers: File exists
Fri Nov 9 13:56:35 2018 ERROR: Linux route add command failed: external program exited with error status: 2
E, se for útil, aqui está o .ovpn que usei:
client
dev tun0
proto udp
comp-lzo
nobind
ns-cert-type server
persist-key
persist-tun
reneg-sec 0
dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4
redirect-gateway
verb 1
auth-user-pass
ca CACertificate.crt
cert UserCertificate.crt
key PrivateKey.key
remote ca.lazerpenguin.com 443
cipher AES-256-CBC
auth SHA256
keysize 256
É um caso semelhante a VPN: ERROR: O comando add route do Linux falhou com o status 2 e alguém avisou "Tente adicionar a rota enviada via ip route adicione seu convidado para verificar o erro e ajustar o roteamento no seu host." Mas eu não tenho idéia de como "ajustar o roteamento no meu host" ... Alguém tem uma ideia para resolver o meu problema?
Obrigado