Since a month I'm struggling with this configuration and the help desk of PureVPN seems unable to find a solution. Thus, as a last resort, I would like to ask to the real experts of OpenVPN.
I have a Raspberry Pi B, and I woul like to use it to give to my smart tv an internet connection through a VPN. The Raspberry is connected va wifi to my router, and when it works it will be connected via UTP to the smart tv.
I installed last version available of openVPN on raspbian. Everything is updated through the repositories.
I tried these two configuration, for TCP and UDP, with the following results:
Code: Select all
client
dev tun
proto tcp
push "dhcp-option DNS 8.8.8.8"
remote it1.purevpn.net 80
nobind
persist-key
persist-tun
cipher AES-256-CBC
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
[omissis]
-----END CERTIFICATE-----
</ca>
#
# 2048 bit OpenVPN static key
#
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
[omissis]
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 1
verb 1
mute 20
float
route-delay 2
auth-user-pass pass.txt
auth-retry interact
ifconfig-nowarn
Code: Select all
connect to [AF_INET]188.72.109.130:80 failed, will try again in 5 seconds: connection timed out
Code: Select all
client
dev tun
push "dhcp-option DNS 8.8.8.8"
remote it-po-ovpn-udp.pointtoserver.com 53
proto udp
nobind
persist-key
persist-tun
cipher AES-256-CBC
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
[omissis]
-----END CERTIFICATE-----
</ca>
#
# 2048 bit OpenVPN static key
#
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
[omissis]
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 1
verb 1
mute 20
route-method exe
route-delay 2
auth-user-pass pass.txt
auth-retry interact
explicit-exit-notify 2
ifconfig-nowarn
Code: Select all
SIOCADDRT: Network is unreachable
ERROR: Linux route add command failed: external program exited with error status: 7